main.java.com.streamlayer.interactive.leaderboard.LeaderboardData 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/interactive/leaderboard/interactive.leaderboard.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.interactive.leaderboard;
/**
* Protobuf type {@code streamlayer.interactive.leaderboard.LeaderboardData}
*/
public final class LeaderboardData extends
com.google.protobuf.GeneratedMessageLite<
LeaderboardData, LeaderboardData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.leaderboard.LeaderboardData)
LeaderboardDataOrBuilder {
private LeaderboardData() {
id_ = "";
name_ = "";
eventIds_ = emptyLongList();
leaderboards_ = emptyProtobufList();
}
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* string id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* string id = 1 [json_name = "id"];
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
id_ = value;
}
/**
* string id = 1 [json_name = "id"];
*/
private void clearId() {
id_ = getDefaultInstance().getId();
}
/**
* string id = 1 [json_name = "id"];
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
id_ = value.toStringUtf8();
}
public static final int TYPE_FIELD_NUMBER = 2;
private int type_;
/**
* .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
public int getTypeValue() {
return type_;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public com.streamlayer.interactive.leaderboard.LeaderboardType getType() {
com.streamlayer.interactive.leaderboard.LeaderboardType result = com.streamlayer.interactive.leaderboard.LeaderboardType.forNumber(type_);
return result == null ? com.streamlayer.interactive.leaderboard.LeaderboardType.UNRECOGNIZED : result;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
* @param value The enum numeric value on the wire for type to set.
*/
private void setTypeValue(int value) {
type_ = value;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
* @param value The type to set.
*/
private void setType(com.streamlayer.interactive.leaderboard.LeaderboardType value) {
type_ = value.getNumber();
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
*/
private void clearType() {
type_ = 0;
}
public static final int NAME_FIELD_NUMBER = 3;
private java.lang.String name_;
/**
* string name = 3 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* string name = 3 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* string name = 3 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
name_ = value;
}
/**
* string name = 3 [json_name = "name"];
*/
private void clearName() {
name_ = getDefaultInstance().getName();
}
/**
* string name = 3 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
name_ = value.toStringUtf8();
}
public static final int EVENT_IDS_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.LongList eventIds_;
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @return A list containing the eventIds.
*/
@java.lang.Override
public java.util.List
getEventIdsList() {
return eventIds_;
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @return The count of eventIds.
*/
@java.lang.Override
public int getEventIdsCount() {
return eventIds_.size();
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @param index The index of the element to return.
* @return The eventIds at the given index.
*/
@java.lang.Override
public long getEventIds(int index) {
return eventIds_.getLong(index);
}
private int eventIdsMemoizedSerializedSize = -1;
private void ensureEventIdsIsMutable() {
com.google.protobuf.Internal.LongList tmp = eventIds_;
if (!tmp.isModifiable()) {
eventIds_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @param index The index to set the value at.
* @param value The eventIds to set.
*/
private void setEventIds(
int index, long value) {
ensureEventIdsIsMutable();
eventIds_.setLong(index, value);
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @param value The eventIds to add.
*/
private void addEventIds(long value) {
ensureEventIdsIsMutable();
eventIds_.addLong(value);
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @param values The eventIds to add.
*/
private void addAllEventIds(
java.lang.Iterable extends java.lang.Long> values) {
ensureEventIdsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, eventIds_);
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
*/
private void clearEventIds() {
eventIds_ = emptyLongList();
}
public static final int LEADERBOARDS_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList leaderboards_;
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
@java.lang.Override
public java.util.List getLeaderboardsList() {
return leaderboards_;
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
public java.util.List extends com.streamlayer.interactive.leaderboard.LeaderboardDataOrBuilder>
getLeaderboardsOrBuilderList() {
return leaderboards_;
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
@java.lang.Override
public int getLeaderboardsCount() {
return leaderboards_.size();
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
@java.lang.Override
public com.streamlayer.interactive.leaderboard.LeaderboardData getLeaderboards(int index) {
return leaderboards_.get(index);
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
public com.streamlayer.interactive.leaderboard.LeaderboardDataOrBuilder getLeaderboardsOrBuilder(
int index) {
return leaderboards_.get(index);
}
private void ensureLeaderboardsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = leaderboards_;
if (!tmp.isModifiable()) {
leaderboards_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
private void setLeaderboards(
int index, com.streamlayer.interactive.leaderboard.LeaderboardData value) {
value.getClass();
ensureLeaderboardsIsMutable();
leaderboards_.set(index, value);
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
private void addLeaderboards(com.streamlayer.interactive.leaderboard.LeaderboardData value) {
value.getClass();
ensureLeaderboardsIsMutable();
leaderboards_.add(value);
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
private void addLeaderboards(
int index, com.streamlayer.interactive.leaderboard.LeaderboardData value) {
value.getClass();
ensureLeaderboardsIsMutable();
leaderboards_.add(index, value);
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
private void addAllLeaderboards(
java.lang.Iterable extends com.streamlayer.interactive.leaderboard.LeaderboardData> values) {
ensureLeaderboardsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, leaderboards_);
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
private void clearLeaderboards() {
leaderboards_ = emptyProtobufList();
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
private void removeLeaderboards(int index) {
ensureLeaderboardsIsMutable();
leaderboards_.remove(index);
}
public static final int CREATED_AT_FIELD_NUMBER = 6;
private long createdAt_;
/**
* int64 created_at = 6 [json_name = "createdAt"];
* @return The createdAt.
*/
@java.lang.Override
public long getCreatedAt() {
return createdAt_;
}
/**
* int64 created_at = 6 [json_name = "createdAt"];
* @param value The createdAt to set.
*/
private void setCreatedAt(long value) {
createdAt_ = value;
}
/**
* int64 created_at = 6 [json_name = "createdAt"];
*/
private void clearCreatedAt() {
createdAt_ = 0L;
}
public static com.streamlayer.interactive.leaderboard.LeaderboardData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardData 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.interactive.leaderboard.LeaderboardData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardData 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.interactive.leaderboard.LeaderboardData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardData 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.interactive.leaderboard.LeaderboardData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardData 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.interactive.leaderboard.LeaderboardData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardData 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.interactive.leaderboard.LeaderboardData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.leaderboard.LeaderboardData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.leaderboard.LeaderboardData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.leaderboard.LeaderboardData)
com.streamlayer.interactive.leaderboard.LeaderboardDataOrBuilder {
// Construct using com.streamlayer.interactive.leaderboard.LeaderboardData.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* string id = 1 [json_name = "id"];
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* string id = 1 [json_name = "id"];
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* string id = 1 [json_name = "id"];
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
public int getTypeValue() {
return instance.getTypeValue();
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
copyOnWrite();
instance.setTypeValue(value);
return this;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public com.streamlayer.interactive.leaderboard.LeaderboardType getType() {
return instance.getType();
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setType(com.streamlayer.interactive.leaderboard.LeaderboardType value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardType type = 2 [json_name = "type"];
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* string name = 3 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* string name = 3 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* string name = 3 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* string name = 3 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* string name = 3 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @return A list containing the eventIds.
*/
@java.lang.Override
public java.util.List
getEventIdsList() {
return java.util.Collections.unmodifiableList(
instance.getEventIdsList());
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @return The count of eventIds.
*/
@java.lang.Override
public int getEventIdsCount() {
return instance.getEventIdsCount();
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @param index The index of the element to return.
* @return The eventIds at the given index.
*/
@java.lang.Override
public long getEventIds(int index) {
return instance.getEventIds(index);
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @param value The eventIds to set.
* @return This builder for chaining.
*/
public Builder setEventIds(
int index, long value) {
copyOnWrite();
instance.setEventIds(index, value);
return this;
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @param value The eventIds to add.
* @return This builder for chaining.
*/
public Builder addEventIds(long value) {
copyOnWrite();
instance.addEventIds(value);
return this;
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @param values The eventIds to add.
* @return This builder for chaining.
*/
public Builder addAllEventIds(
java.lang.Iterable extends java.lang.Long> values) {
copyOnWrite();
instance.addAllEventIds(values);
return this;
}
/**
* repeated int64 event_ids = 4 [json_name = "eventIds"];
* @return This builder for chaining.
*/
public Builder clearEventIds() {
copyOnWrite();
instance.clearEventIds();
return this;
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
@java.lang.Override
public java.util.List getLeaderboardsList() {
return java.util.Collections.unmodifiableList(
instance.getLeaderboardsList());
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
@java.lang.Override
public int getLeaderboardsCount() {
return instance.getLeaderboardsCount();
}/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
@java.lang.Override
public com.streamlayer.interactive.leaderboard.LeaderboardData getLeaderboards(int index) {
return instance.getLeaderboards(index);
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
public Builder setLeaderboards(
int index, com.streamlayer.interactive.leaderboard.LeaderboardData value) {
copyOnWrite();
instance.setLeaderboards(index, value);
return this;
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
public Builder setLeaderboards(
int index, com.streamlayer.interactive.leaderboard.LeaderboardData.Builder builderForValue) {
copyOnWrite();
instance.setLeaderboards(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
public Builder addLeaderboards(com.streamlayer.interactive.leaderboard.LeaderboardData value) {
copyOnWrite();
instance.addLeaderboards(value);
return this;
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
public Builder addLeaderboards(
int index, com.streamlayer.interactive.leaderboard.LeaderboardData value) {
copyOnWrite();
instance.addLeaderboards(index, value);
return this;
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
public Builder addLeaderboards(
com.streamlayer.interactive.leaderboard.LeaderboardData.Builder builderForValue) {
copyOnWrite();
instance.addLeaderboards(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
public Builder addLeaderboards(
int index, com.streamlayer.interactive.leaderboard.LeaderboardData.Builder builderForValue) {
copyOnWrite();
instance.addLeaderboards(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
public Builder addAllLeaderboards(
java.lang.Iterable extends com.streamlayer.interactive.leaderboard.LeaderboardData> values) {
copyOnWrite();
instance.addAllLeaderboards(values);
return this;
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
public Builder clearLeaderboards() {
copyOnWrite();
instance.clearLeaderboards();
return this;
}
/**
* repeated .streamlayer.interactive.leaderboard.LeaderboardData leaderboards = 5 [json_name = "leaderboards"];
*/
public Builder removeLeaderboards(int index) {
copyOnWrite();
instance.removeLeaderboards(index);
return this;
}
/**
* int64 created_at = 6 [json_name = "createdAt"];
* @return The createdAt.
*/
@java.lang.Override
public long getCreatedAt() {
return instance.getCreatedAt();
}
/**
* int64 created_at = 6 [json_name = "createdAt"];
* @param value The createdAt to set.
* @return This builder for chaining.
*/
public Builder setCreatedAt(long value) {
copyOnWrite();
instance.setCreatedAt(value);
return this;
}
/**
* int64 created_at = 6 [json_name = "createdAt"];
* @return This builder for chaining.
*/
public Builder clearCreatedAt() {
copyOnWrite();
instance.clearCreatedAt();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.leaderboard.LeaderboardData)
}
@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.interactive.leaderboard.LeaderboardData();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"id_",
"type_",
"name_",
"eventIds_",
"leaderboards_",
com.streamlayer.interactive.leaderboard.LeaderboardData.class,
"createdAt_",
};
java.lang.String info =
"\u0000\u0006\u0000\u0000\u0001\u0006\u0006\u0000\u0002\u0000\u0001\u0208\u0002\f" +
"\u0003\u0208\u0004%\u0005\u001b\u0006\u0002";
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.interactive.leaderboard.LeaderboardData.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.interactive.leaderboard.LeaderboardData)
private static final com.streamlayer.interactive.leaderboard.LeaderboardData DEFAULT_INSTANCE;
static {
LeaderboardData defaultInstance = new LeaderboardData();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LeaderboardData.class, defaultInstance);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}