main.java.com.streamlayer.analytics.polls.v1.TotalStatsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/analytics/v1/polls/polls.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.analytics.polls.v1;
/**
* Protobuf type {@code streamlayer.analytics.v1.polls.TotalStatsResponse}
*/
public final class TotalStatsResponse extends
com.google.protobuf.GeneratedMessageLite<
TotalStatsResponse, TotalStatsResponse.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.analytics.v1.polls.TotalStatsResponse)
TotalStatsResponseOrBuilder {
private TotalStatsResponse() {
}
public interface StatsOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.analytics.v1.polls.TotalStatsResponse.Stats)
com.google.protobuf.MessageLiteOrBuilder {
/**
* uint64 received = 1 [json_name = "received"];
* @return The received.
*/
long getReceived();
/**
* uint64 opened = 2 [json_name = "opened"];
* @return The opened.
*/
long getOpened();
/**
* uint64 voted = 3 [json_name = "voted"];
* @return The voted.
*/
long getVoted();
/**
* uint64 navigated = 4 [json_name = "navigated"];
* @return The navigated.
*/
long getNavigated();
}
/**
* Protobuf type {@code streamlayer.analytics.v1.polls.TotalStatsResponse.Stats}
*/
public static final class Stats extends
com.google.protobuf.GeneratedMessageLite<
Stats, Stats.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.analytics.v1.polls.TotalStatsResponse.Stats)
StatsOrBuilder {
private Stats() {
}
public static final int RECEIVED_FIELD_NUMBER = 1;
private long received_;
/**
* uint64 received = 1 [json_name = "received"];
* @return The received.
*/
@java.lang.Override
public long getReceived() {
return received_;
}
/**
* uint64 received = 1 [json_name = "received"];
* @param value The received to set.
*/
private void setReceived(long value) {
received_ = value;
}
/**
* uint64 received = 1 [json_name = "received"];
*/
private void clearReceived() {
received_ = 0L;
}
public static final int OPENED_FIELD_NUMBER = 2;
private long opened_;
/**
* uint64 opened = 2 [json_name = "opened"];
* @return The opened.
*/
@java.lang.Override
public long getOpened() {
return opened_;
}
/**
* uint64 opened = 2 [json_name = "opened"];
* @param value The opened to set.
*/
private void setOpened(long value) {
opened_ = value;
}
/**
* uint64 opened = 2 [json_name = "opened"];
*/
private void clearOpened() {
opened_ = 0L;
}
public static final int VOTED_FIELD_NUMBER = 3;
private long voted_;
/**
* uint64 voted = 3 [json_name = "voted"];
* @return The voted.
*/
@java.lang.Override
public long getVoted() {
return voted_;
}
/**
* uint64 voted = 3 [json_name = "voted"];
* @param value The voted to set.
*/
private void setVoted(long value) {
voted_ = value;
}
/**
* uint64 voted = 3 [json_name = "voted"];
*/
private void clearVoted() {
voted_ = 0L;
}
public static final int NAVIGATED_FIELD_NUMBER = 4;
private long navigated_;
/**
* uint64 navigated = 4 [json_name = "navigated"];
* @return The navigated.
*/
@java.lang.Override
public long getNavigated() {
return navigated_;
}
/**
* uint64 navigated = 4 [json_name = "navigated"];
* @param value The navigated to set.
*/
private void setNavigated(long value) {
navigated_ = value;
}
/**
* uint64 navigated = 4 [json_name = "navigated"];
*/
private void clearNavigated() {
navigated_ = 0L;
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.analytics.v1.polls.TotalStatsResponse.Stats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.analytics.v1.polls.TotalStatsResponse.Stats)
com.streamlayer.analytics.polls.v1.TotalStatsResponse.StatsOrBuilder {
// Construct using com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* uint64 received = 1 [json_name = "received"];
* @return The received.
*/
@java.lang.Override
public long getReceived() {
return instance.getReceived();
}
/**
* uint64 received = 1 [json_name = "received"];
* @param value The received to set.
* @return This builder for chaining.
*/
public Builder setReceived(long value) {
copyOnWrite();
instance.setReceived(value);
return this;
}
/**
* uint64 received = 1 [json_name = "received"];
* @return This builder for chaining.
*/
public Builder clearReceived() {
copyOnWrite();
instance.clearReceived();
return this;
}
/**
* uint64 opened = 2 [json_name = "opened"];
* @return The opened.
*/
@java.lang.Override
public long getOpened() {
return instance.getOpened();
}
/**
* uint64 opened = 2 [json_name = "opened"];
* @param value The opened to set.
* @return This builder for chaining.
*/
public Builder setOpened(long value) {
copyOnWrite();
instance.setOpened(value);
return this;
}
/**
* uint64 opened = 2 [json_name = "opened"];
* @return This builder for chaining.
*/
public Builder clearOpened() {
copyOnWrite();
instance.clearOpened();
return this;
}
/**
* uint64 voted = 3 [json_name = "voted"];
* @return The voted.
*/
@java.lang.Override
public long getVoted() {
return instance.getVoted();
}
/**
* uint64 voted = 3 [json_name = "voted"];
* @param value The voted to set.
* @return This builder for chaining.
*/
public Builder setVoted(long value) {
copyOnWrite();
instance.setVoted(value);
return this;
}
/**
* uint64 voted = 3 [json_name = "voted"];
* @return This builder for chaining.
*/
public Builder clearVoted() {
copyOnWrite();
instance.clearVoted();
return this;
}
/**
* uint64 navigated = 4 [json_name = "navigated"];
* @return The navigated.
*/
@java.lang.Override
public long getNavigated() {
return instance.getNavigated();
}
/**
* uint64 navigated = 4 [json_name = "navigated"];
* @param value The navigated to set.
* @return This builder for chaining.
*/
public Builder setNavigated(long value) {
copyOnWrite();
instance.setNavigated(value);
return this;
}
/**
* uint64 navigated = 4 [json_name = "navigated"];
* @return This builder for chaining.
*/
public Builder clearNavigated() {
copyOnWrite();
instance.clearNavigated();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.analytics.v1.polls.TotalStatsResponse.Stats)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"received_",
"opened_",
"voted_",
"navigated_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0003\u0002\u0003" +
"\u0003\u0003\u0004\u0003";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:streamlayer.analytics.v1.polls.TotalStatsResponse.Stats)
private static final com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats DEFAULT_INSTANCE;
static {
Stats defaultInstance = new Stats();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Stats.class, defaultInstance);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public static final int DATA_FIELD_NUMBER = 1;
private static final class DataDefaultEntryHolder {
static final com.google.protobuf.MapEntryLite<
java.lang.String, com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats> defaultEntry =
com.google.protobuf.MapEntryLite
.newDefaultInstance(
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats.getDefaultInstance());
}
private com.google.protobuf.MapFieldLite<
java.lang.String, com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats> data_ =
com.google.protobuf.MapFieldLite.emptyMapField();
private com.google.protobuf.MapFieldLite
internalGetData() {
return data_;
}
private com.google.protobuf.MapFieldLite
internalGetMutableData() {
if (!data_.isMutable()) {
data_ = data_.mutableCopy();
}
return data_;
}
@java.lang.Override
public int getDataCount() {
return internalGetData().size();
}
/**
* map<string, .streamlayer.analytics.v1.polls.TotalStatsResponse.Stats> data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean containsData(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
return internalGetData().containsKey(key);
}
/**
* Use {@link #getDataMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getData() {
return getDataMap();
}
/**
* map<string, .streamlayer.analytics.v1.polls.TotalStatsResponse.Stats> data = 1 [json_name = "data"];
*/
@java.lang.Override
public java.util.Map getDataMap() {
return java.util.Collections.unmodifiableMap(
internalGetData());
}
/**
* map<string, .streamlayer.analytics.v1.polls.TotalStatsResponse.Stats> data = 1 [json_name = "data"];
*/
@java.lang.Override
public /* nullable */
com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats getDataOrDefault(
java.lang.String key,
/* nullable */
com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats defaultValue) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
internalGetData();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, .streamlayer.analytics.v1.polls.TotalStatsResponse.Stats> data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats getDataOrThrow(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
internalGetData();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
/**
* map<string, .streamlayer.analytics.v1.polls.TotalStatsResponse.Stats> data = 1 [json_name = "data"];
*/
private java.util.Map
getMutableDataMap() {
return internalGetMutableData();
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.streamlayer.analytics.polls.v1.TotalStatsResponse prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.analytics.v1.polls.TotalStatsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.analytics.polls.v1.TotalStatsResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.analytics.v1.polls.TotalStatsResponse)
com.streamlayer.analytics.polls.v1.TotalStatsResponseOrBuilder {
// Construct using com.streamlayer.analytics.polls.v1.TotalStatsResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public int getDataCount() {
return instance.getDataMap().size();
}
/**
* map<string, .streamlayer.analytics.v1.polls.TotalStatsResponse.Stats> data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean containsData(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
return instance.getDataMap().containsKey(key);
}
public Builder clearData() {
copyOnWrite();
instance.getMutableDataMap().clear();
return this;
}
/**
* map<string, .streamlayer.analytics.v1.polls.TotalStatsResponse.Stats> data = 1 [json_name = "data"];
*/
public Builder removeData(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
copyOnWrite();
instance.getMutableDataMap().remove(key);
return this;
}
/**
* Use {@link #getDataMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getData() {
return getDataMap();
}
/**
* map<string, .streamlayer.analytics.v1.polls.TotalStatsResponse.Stats> data = 1 [json_name = "data"];
*/
@java.lang.Override
public java.util.Map getDataMap() {
return java.util.Collections.unmodifiableMap(
instance.getDataMap());
}
/**
* map<string, .streamlayer.analytics.v1.polls.TotalStatsResponse.Stats> data = 1 [json_name = "data"];
*/
@java.lang.Override
public /* nullable */
com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats getDataOrDefault(
java.lang.String key,
/* nullable */
com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats defaultValue) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
instance.getDataMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, .streamlayer.analytics.v1.polls.TotalStatsResponse.Stats> data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats getDataOrThrow(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
instance.getDataMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
/**
* map<string, .streamlayer.analytics.v1.polls.TotalStatsResponse.Stats> data = 1 [json_name = "data"];
*/
public Builder putData(
java.lang.String key,
com.streamlayer.analytics.polls.v1.TotalStatsResponse.Stats value) {
java.lang.Class> keyClass = key.getClass();
java.lang.Class> valueClass = value.getClass();
copyOnWrite();
instance.getMutableDataMap().put(key, value);
return this;
}
/**
* map<string, .streamlayer.analytics.v1.polls.TotalStatsResponse.Stats> data = 1 [json_name = "data"];
*/
public Builder putAllData(
java.util.Map values) {
copyOnWrite();
instance.getMutableDataMap().putAll(values);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.analytics.v1.polls.TotalStatsResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.streamlayer.analytics.polls.v1.TotalStatsResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"data_",
DataDefaultEntryHolder.defaultEntry,
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u00012";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.analytics.polls.v1.TotalStatsResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:streamlayer.analytics.v1.polls.TotalStatsResponse)
private static final com.streamlayer.analytics.polls.v1.TotalStatsResponse DEFAULT_INSTANCE;
static {
TotalStatsResponse defaultInstance = new TotalStatsResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TotalStatsResponse.class, defaultInstance);
}
public static com.streamlayer.analytics.polls.v1.TotalStatsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}