main.java.com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem 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.LeaderboardSummaryItem}
*/
public final class LeaderboardSummaryItem extends
com.google.protobuf.GeneratedMessageLite<
LeaderboardSummaryItem, LeaderboardSummaryItem.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.leaderboard.LeaderboardSummaryItem)
LeaderboardSummaryItemOrBuilder {
private LeaderboardSummaryItem() {
}
public interface SummaryPercentageOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage)
com.google.protobuf.MessageLiteOrBuilder {
/**
* int32 correct = 1 [json_name = "correct"];
* @return The correct.
*/
int getCorrect();
/**
* int32 average = 2 [json_name = "average"];
* @return The average.
*/
int getAverage();
}
/**
* Protobuf type {@code streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage}
*/
public static final class SummaryPercentage extends
com.google.protobuf.GeneratedMessageLite<
SummaryPercentage, SummaryPercentage.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage)
SummaryPercentageOrBuilder {
private SummaryPercentage() {
}
public static final int CORRECT_FIELD_NUMBER = 1;
private int correct_;
/**
* int32 correct = 1 [json_name = "correct"];
* @return The correct.
*/
@java.lang.Override
public int getCorrect() {
return correct_;
}
/**
* int32 correct = 1 [json_name = "correct"];
* @param value The correct to set.
*/
private void setCorrect(int value) {
correct_ = value;
}
/**
* int32 correct = 1 [json_name = "correct"];
*/
private void clearCorrect() {
correct_ = 0;
}
public static final int AVERAGE_FIELD_NUMBER = 2;
private int average_;
/**
* int32 average = 2 [json_name = "average"];
* @return The average.
*/
@java.lang.Override
public int getAverage() {
return average_;
}
/**
* int32 average = 2 [json_name = "average"];
* @param value The average to set.
*/
private void setAverage(int value) {
average_ = value;
}
/**
* int32 average = 2 [json_name = "average"];
*/
private void clearAverage() {
average_ = 0;
}
public static com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage 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.LeaderboardSummaryItem.SummaryPercentage 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.LeaderboardSummaryItem.SummaryPercentage 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.LeaderboardSummaryItem.SummaryPercentage 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.LeaderboardSummaryItem.SummaryPercentage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage 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.LeaderboardSummaryItem.SummaryPercentage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage 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.LeaderboardSummaryItem.SummaryPercentage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage 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.LeaderboardSummaryItem.SummaryPercentage 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.LeaderboardSummaryItem.SummaryPercentage 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.LeaderboardSummaryItem.SummaryPercentage prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage)
com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentageOrBuilder {
// Construct using com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* int32 correct = 1 [json_name = "correct"];
* @return The correct.
*/
@java.lang.Override
public int getCorrect() {
return instance.getCorrect();
}
/**
* int32 correct = 1 [json_name = "correct"];
* @param value The correct to set.
* @return This builder for chaining.
*/
public Builder setCorrect(int value) {
copyOnWrite();
instance.setCorrect(value);
return this;
}
/**
* int32 correct = 1 [json_name = "correct"];
* @return This builder for chaining.
*/
public Builder clearCorrect() {
copyOnWrite();
instance.clearCorrect();
return this;
}
/**
* int32 average = 2 [json_name = "average"];
* @return The average.
*/
@java.lang.Override
public int getAverage() {
return instance.getAverage();
}
/**
* int32 average = 2 [json_name = "average"];
* @param value The average to set.
* @return This builder for chaining.
*/
public Builder setAverage(int value) {
copyOnWrite();
instance.setAverage(value);
return this;
}
/**
* int32 average = 2 [json_name = "average"];
* @return This builder for chaining.
*/
public Builder clearAverage() {
copyOnWrite();
instance.clearAverage();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage)
}
@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.LeaderboardSummaryItem.SummaryPercentage();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"correct_",
"average_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0004\u0002\u0004" +
"";
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.LeaderboardSummaryItem.SummaryPercentage.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.LeaderboardSummaryItem.SummaryPercentage)
private static final com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage DEFAULT_INSTANCE;
static {
SummaryPercentage defaultInstance = new SummaryPercentage();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SummaryPercentage.class, defaultInstance);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int SUMMARY_FIELD_NUMBER = 1;
private com.streamlayer.interactive.leaderboard.LeaderboardItem summary_;
/**
* .streamlayer.interactive.leaderboard.LeaderboardItem summary = 1 [json_name = "summary"];
*/
@java.lang.Override
public boolean hasSummary() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardItem summary = 1 [json_name = "summary"];
*/
@java.lang.Override
public com.streamlayer.interactive.leaderboard.LeaderboardItem getSummary() {
return summary_ == null ? com.streamlayer.interactive.leaderboard.LeaderboardItem.getDefaultInstance() : summary_;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardItem summary = 1 [json_name = "summary"];
*/
private void setSummary(com.streamlayer.interactive.leaderboard.LeaderboardItem value) {
value.getClass();
summary_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardItem summary = 1 [json_name = "summary"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSummary(com.streamlayer.interactive.leaderboard.LeaderboardItem value) {
value.getClass();
if (summary_ != null &&
summary_ != com.streamlayer.interactive.leaderboard.LeaderboardItem.getDefaultInstance()) {
summary_ =
com.streamlayer.interactive.leaderboard.LeaderboardItem.newBuilder(summary_).mergeFrom(value).buildPartial();
} else {
summary_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardItem summary = 1 [json_name = "summary"];
*/
private void clearSummary() { summary_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int PERCENTAGE_FIELD_NUMBER = 2;
private com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage percentage_;
/**
* .streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage percentage = 2 [json_name = "percentage"];
*/
@java.lang.Override
public boolean hasPercentage() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage percentage = 2 [json_name = "percentage"];
*/
@java.lang.Override
public com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage getPercentage() {
return percentage_ == null ? com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage.getDefaultInstance() : percentage_;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage percentage = 2 [json_name = "percentage"];
*/
private void setPercentage(com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage value) {
value.getClass();
percentage_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage percentage = 2 [json_name = "percentage"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergePercentage(com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage value) {
value.getClass();
if (percentage_ != null &&
percentage_ != com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage.getDefaultInstance()) {
percentage_ =
com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage.newBuilder(percentage_).mergeFrom(value).buildPartial();
} else {
percentage_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage percentage = 2 [json_name = "percentage"];
*/
private void clearPercentage() { percentage_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem 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.LeaderboardSummaryItem 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.LeaderboardSummaryItem 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.LeaderboardSummaryItem 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.LeaderboardSummaryItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem 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.LeaderboardSummaryItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem 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.LeaderboardSummaryItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem 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.LeaderboardSummaryItem 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.LeaderboardSummaryItem 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.LeaderboardSummaryItem prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.leaderboard.LeaderboardSummaryItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.leaderboard.LeaderboardSummaryItem)
com.streamlayer.interactive.leaderboard.LeaderboardSummaryItemOrBuilder {
// Construct using com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardItem summary = 1 [json_name = "summary"];
*/
@java.lang.Override
public boolean hasSummary() {
return instance.hasSummary();
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardItem summary = 1 [json_name = "summary"];
*/
@java.lang.Override
public com.streamlayer.interactive.leaderboard.LeaderboardItem getSummary() {
return instance.getSummary();
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardItem summary = 1 [json_name = "summary"];
*/
public Builder setSummary(com.streamlayer.interactive.leaderboard.LeaderboardItem value) {
copyOnWrite();
instance.setSummary(value);
return this;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardItem summary = 1 [json_name = "summary"];
*/
public Builder setSummary(
com.streamlayer.interactive.leaderboard.LeaderboardItem.Builder builderForValue) {
copyOnWrite();
instance.setSummary(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardItem summary = 1 [json_name = "summary"];
*/
public Builder mergeSummary(com.streamlayer.interactive.leaderboard.LeaderboardItem value) {
copyOnWrite();
instance.mergeSummary(value);
return this;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardItem summary = 1 [json_name = "summary"];
*/
public Builder clearSummary() { copyOnWrite();
instance.clearSummary();
return this;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage percentage = 2 [json_name = "percentage"];
*/
@java.lang.Override
public boolean hasPercentage() {
return instance.hasPercentage();
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage percentage = 2 [json_name = "percentage"];
*/
@java.lang.Override
public com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage getPercentage() {
return instance.getPercentage();
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage percentage = 2 [json_name = "percentage"];
*/
public Builder setPercentage(com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage value) {
copyOnWrite();
instance.setPercentage(value);
return this;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage percentage = 2 [json_name = "percentage"];
*/
public Builder setPercentage(
com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage.Builder builderForValue) {
copyOnWrite();
instance.setPercentage(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage percentage = 2 [json_name = "percentage"];
*/
public Builder mergePercentage(com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage value) {
copyOnWrite();
instance.mergePercentage(value);
return this;
}
/**
* .streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage percentage = 2 [json_name = "percentage"];
*/
public Builder clearPercentage() { copyOnWrite();
instance.clearPercentage();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.leaderboard.LeaderboardSummaryItem)
}
@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.LeaderboardSummaryItem();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"summary_",
"percentage_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u1009\u0001";
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.LeaderboardSummaryItem.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.LeaderboardSummaryItem)
private static final com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem DEFAULT_INSTANCE;
static {
LeaderboardSummaryItem defaultInstance = new LeaderboardSummaryItem();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LeaderboardSummaryItem.class, defaultInstance);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardSummaryItem getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}