main.java.com.streamlayer.interactive.leaderboard.LeaderboardItem 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.LeaderboardItem}
*/
public final class LeaderboardItem extends
com.google.protobuf.GeneratedMessageLite<
LeaderboardItem, LeaderboardItem.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.leaderboard.LeaderboardItem)
LeaderboardItemOrBuilder {
private LeaderboardItem() {
name_ = "";
avatar_ = "";
userId_ = "";
}
public static final int STREAK_FIELD_NUMBER = 1;
private int streak_;
/**
* int32 streak = 1 [json_name = "streak"];
* @return The streak.
*/
@java.lang.Override
public int getStreak() {
return streak_;
}
/**
* int32 streak = 1 [json_name = "streak"];
* @param value The streak to set.
*/
private void setStreak(int value) {
streak_ = value;
}
/**
* int32 streak = 1 [json_name = "streak"];
*/
private void clearStreak() {
streak_ = 0;
}
public static final int CORRECT_FIELD_NUMBER = 2;
private int correct_;
/**
* int32 correct = 2 [json_name = "correct"];
* @return The correct.
*/
@java.lang.Override
public int getCorrect() {
return correct_;
}
/**
* int32 correct = 2 [json_name = "correct"];
* @param value The correct to set.
*/
private void setCorrect(int value) {
correct_ = value;
}
/**
* int32 correct = 2 [json_name = "correct"];
*/
private void clearCorrect() {
correct_ = 0;
}
public static final int INCORRECT_FIELD_NUMBER = 3;
private int incorrect_;
/**
* int32 incorrect = 3 [json_name = "incorrect"];
* @return The incorrect.
*/
@java.lang.Override
public int getIncorrect() {
return incorrect_;
}
/**
* int32 incorrect = 3 [json_name = "incorrect"];
* @param value The incorrect to set.
*/
private void setIncorrect(int value) {
incorrect_ = value;
}
/**
* int32 incorrect = 3 [json_name = "incorrect"];
*/
private void clearIncorrect() {
incorrect_ = 0;
}
public static final int POINTS_FIELD_NUMBER = 4;
private int points_;
/**
* int32 points = 4 [json_name = "points"];
* @return The points.
*/
@java.lang.Override
public int getPoints() {
return points_;
}
/**
* int32 points = 4 [json_name = "points"];
* @param value The points to set.
*/
private void setPoints(int value) {
points_ = value;
}
/**
* int32 points = 4 [json_name = "points"];
*/
private void clearPoints() {
points_ = 0;
}
public static final int RANK_FIELD_NUMBER = 5;
private int rank_;
/**
* int32 rank = 5 [json_name = "rank"];
* @return The rank.
*/
@java.lang.Override
public int getRank() {
return rank_;
}
/**
* int32 rank = 5 [json_name = "rank"];
* @param value The rank to set.
*/
private void setRank(int value) {
rank_ = value;
}
/**
* int32 rank = 5 [json_name = "rank"];
*/
private void clearRank() {
rank_ = 0;
}
public static final int NAME_FIELD_NUMBER = 6;
private java.lang.String name_;
/**
* string name = 6 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* string name = 6 [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 = 6 [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 = 6 [json_name = "name"];
*/
private void clearName() {
name_ = getDefaultInstance().getName();
}
/**
* string name = 6 [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 AVATAR_FIELD_NUMBER = 7;
private java.lang.String avatar_;
/**
* string avatar = 7 [json_name = "avatar"];
* @return The avatar.
*/
@java.lang.Override
public java.lang.String getAvatar() {
return avatar_;
}
/**
* string avatar = 7 [json_name = "avatar"];
* @return The bytes for avatar.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAvatarBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(avatar_);
}
/**
* string avatar = 7 [json_name = "avatar"];
* @param value The avatar to set.
*/
private void setAvatar(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
avatar_ = value;
}
/**
* string avatar = 7 [json_name = "avatar"];
*/
private void clearAvatar() {
avatar_ = getDefaultInstance().getAvatar();
}
/**
* string avatar = 7 [json_name = "avatar"];
* @param value The bytes for avatar to set.
*/
private void setAvatarBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
avatar_ = value.toStringUtf8();
}
public static final int USER_ID_FIELD_NUMBER = 8;
private java.lang.String userId_;
/**
* string user_id = 8 [json_name = "userId"];
* @return The userId.
*/
@java.lang.Override
public java.lang.String getUserId() {
return userId_;
}
/**
* string user_id = 8 [json_name = "userId"];
* @return The bytes for userId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(userId_);
}
/**
* string user_id = 8 [json_name = "userId"];
* @param value The userId to set.
*/
private void setUserId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
userId_ = value;
}
/**
* string user_id = 8 [json_name = "userId"];
*/
private void clearUserId() {
userId_ = getDefaultInstance().getUserId();
}
/**
* string user_id = 8 [json_name = "userId"];
* @param value The bytes for userId to set.
*/
private void setUserIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
userId_ = value.toStringUtf8();
}
public static final int RECENT_CORRECT_FIELD_NUMBER = 9;
private int recentCorrect_;
/**
* int32 recent_correct = 9 [json_name = "recentCorrect"];
* @return The recentCorrect.
*/
@java.lang.Override
public int getRecentCorrect() {
return recentCorrect_;
}
/**
* int32 recent_correct = 9 [json_name = "recentCorrect"];
* @param value The recentCorrect to set.
*/
private void setRecentCorrect(int value) {
recentCorrect_ = value;
}
/**
* int32 recent_correct = 9 [json_name = "recentCorrect"];
*/
private void clearRecentCorrect() {
recentCorrect_ = 0;
}
public static final int STREAK_LOSS_FIELD_NUMBER = 10;
private int streakLoss_;
/**
* int32 streak_loss = 10 [json_name = "streakLoss"];
* @return The streakLoss.
*/
@java.lang.Override
public int getStreakLoss() {
return streakLoss_;
}
/**
* int32 streak_loss = 10 [json_name = "streakLoss"];
* @param value The streakLoss to set.
*/
private void setStreakLoss(int value) {
streakLoss_ = value;
}
/**
* int32 streak_loss = 10 [json_name = "streakLoss"];
*/
private void clearStreakLoss() {
streakLoss_ = 0;
}
public static final int FRIENDS_RANK_FIELD_NUMBER = 11;
private int friendsRank_;
/**
*
* for summary request only
*
*
* int32 friends_rank = 11 [json_name = "friendsRank"];
* @return The friendsRank.
*/
@java.lang.Override
public int getFriendsRank() {
return friendsRank_;
}
/**
*
* for summary request only
*
*
* int32 friends_rank = 11 [json_name = "friendsRank"];
* @param value The friendsRank to set.
*/
private void setFriendsRank(int value) {
friendsRank_ = value;
}
/**
*
* for summary request only
*
*
* int32 friends_rank = 11 [json_name = "friendsRank"];
*/
private void clearFriendsRank() {
friendsRank_ = 0;
}
public static final int IN_TOP_FIELD_NUMBER = 12;
private int inTop_;
/**
*
* for summary request only
*
*
* int32 in_top = 12 [json_name = "inTop"];
* @return The inTop.
*/
@java.lang.Override
public int getInTop() {
return inTop_;
}
/**
*
* for summary request only
*
*
* int32 in_top = 12 [json_name = "inTop"];
* @param value The inTop to set.
*/
private void setInTop(int value) {
inTop_ = value;
}
/**
*
* for summary request only
*
*
* int32 in_top = 12 [json_name = "inTop"];
*/
private void clearInTop() {
inTop_ = 0;
}
public static com.streamlayer.interactive.leaderboard.LeaderboardItem 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.LeaderboardItem 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.LeaderboardItem 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.LeaderboardItem 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.LeaderboardItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardItem 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.LeaderboardItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardItem 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.LeaderboardItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardItem 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.LeaderboardItem 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.LeaderboardItem 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.LeaderboardItem prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.leaderboard.LeaderboardItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.leaderboard.LeaderboardItem, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.leaderboard.LeaderboardItem)
com.streamlayer.interactive.leaderboard.LeaderboardItemOrBuilder {
// Construct using com.streamlayer.interactive.leaderboard.LeaderboardItem.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* int32 streak = 1 [json_name = "streak"];
* @return The streak.
*/
@java.lang.Override
public int getStreak() {
return instance.getStreak();
}
/**
* int32 streak = 1 [json_name = "streak"];
* @param value The streak to set.
* @return This builder for chaining.
*/
public Builder setStreak(int value) {
copyOnWrite();
instance.setStreak(value);
return this;
}
/**
* int32 streak = 1 [json_name = "streak"];
* @return This builder for chaining.
*/
public Builder clearStreak() {
copyOnWrite();
instance.clearStreak();
return this;
}
/**
* int32 correct = 2 [json_name = "correct"];
* @return The correct.
*/
@java.lang.Override
public int getCorrect() {
return instance.getCorrect();
}
/**
* int32 correct = 2 [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 = 2 [json_name = "correct"];
* @return This builder for chaining.
*/
public Builder clearCorrect() {
copyOnWrite();
instance.clearCorrect();
return this;
}
/**
* int32 incorrect = 3 [json_name = "incorrect"];
* @return The incorrect.
*/
@java.lang.Override
public int getIncorrect() {
return instance.getIncorrect();
}
/**
* int32 incorrect = 3 [json_name = "incorrect"];
* @param value The incorrect to set.
* @return This builder for chaining.
*/
public Builder setIncorrect(int value) {
copyOnWrite();
instance.setIncorrect(value);
return this;
}
/**
* int32 incorrect = 3 [json_name = "incorrect"];
* @return This builder for chaining.
*/
public Builder clearIncorrect() {
copyOnWrite();
instance.clearIncorrect();
return this;
}
/**
* int32 points = 4 [json_name = "points"];
* @return The points.
*/
@java.lang.Override
public int getPoints() {
return instance.getPoints();
}
/**
* int32 points = 4 [json_name = "points"];
* @param value The points to set.
* @return This builder for chaining.
*/
public Builder setPoints(int value) {
copyOnWrite();
instance.setPoints(value);
return this;
}
/**
* int32 points = 4 [json_name = "points"];
* @return This builder for chaining.
*/
public Builder clearPoints() {
copyOnWrite();
instance.clearPoints();
return this;
}
/**
* int32 rank = 5 [json_name = "rank"];
* @return The rank.
*/
@java.lang.Override
public int getRank() {
return instance.getRank();
}
/**
* int32 rank = 5 [json_name = "rank"];
* @param value The rank to set.
* @return This builder for chaining.
*/
public Builder setRank(int value) {
copyOnWrite();
instance.setRank(value);
return this;
}
/**
* int32 rank = 5 [json_name = "rank"];
* @return This builder for chaining.
*/
public Builder clearRank() {
copyOnWrite();
instance.clearRank();
return this;
}
/**
* string name = 6 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* string name = 6 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* string name = 6 [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 = 6 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* string name = 6 [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;
}
/**
* string avatar = 7 [json_name = "avatar"];
* @return The avatar.
*/
@java.lang.Override
public java.lang.String getAvatar() {
return instance.getAvatar();
}
/**
* string avatar = 7 [json_name = "avatar"];
* @return The bytes for avatar.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAvatarBytes() {
return instance.getAvatarBytes();
}
/**
* string avatar = 7 [json_name = "avatar"];
* @param value The avatar to set.
* @return This builder for chaining.
*/
public Builder setAvatar(
java.lang.String value) {
copyOnWrite();
instance.setAvatar(value);
return this;
}
/**
* string avatar = 7 [json_name = "avatar"];
* @return This builder for chaining.
*/
public Builder clearAvatar() {
copyOnWrite();
instance.clearAvatar();
return this;
}
/**
* string avatar = 7 [json_name = "avatar"];
* @param value The bytes for avatar to set.
* @return This builder for chaining.
*/
public Builder setAvatarBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAvatarBytes(value);
return this;
}
/**
* string user_id = 8 [json_name = "userId"];
* @return The userId.
*/
@java.lang.Override
public java.lang.String getUserId() {
return instance.getUserId();
}
/**
* string user_id = 8 [json_name = "userId"];
* @return The bytes for userId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserIdBytes() {
return instance.getUserIdBytes();
}
/**
* string user_id = 8 [json_name = "userId"];
* @param value The userId to set.
* @return This builder for chaining.
*/
public Builder setUserId(
java.lang.String value) {
copyOnWrite();
instance.setUserId(value);
return this;
}
/**
* string user_id = 8 [json_name = "userId"];
* @return This builder for chaining.
*/
public Builder clearUserId() {
copyOnWrite();
instance.clearUserId();
return this;
}
/**
* string user_id = 8 [json_name = "userId"];
* @param value The bytes for userId to set.
* @return This builder for chaining.
*/
public Builder setUserIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUserIdBytes(value);
return this;
}
/**
* int32 recent_correct = 9 [json_name = "recentCorrect"];
* @return The recentCorrect.
*/
@java.lang.Override
public int getRecentCorrect() {
return instance.getRecentCorrect();
}
/**
* int32 recent_correct = 9 [json_name = "recentCorrect"];
* @param value The recentCorrect to set.
* @return This builder for chaining.
*/
public Builder setRecentCorrect(int value) {
copyOnWrite();
instance.setRecentCorrect(value);
return this;
}
/**
* int32 recent_correct = 9 [json_name = "recentCorrect"];
* @return This builder for chaining.
*/
public Builder clearRecentCorrect() {
copyOnWrite();
instance.clearRecentCorrect();
return this;
}
/**
* int32 streak_loss = 10 [json_name = "streakLoss"];
* @return The streakLoss.
*/
@java.lang.Override
public int getStreakLoss() {
return instance.getStreakLoss();
}
/**
* int32 streak_loss = 10 [json_name = "streakLoss"];
* @param value The streakLoss to set.
* @return This builder for chaining.
*/
public Builder setStreakLoss(int value) {
copyOnWrite();
instance.setStreakLoss(value);
return this;
}
/**
* int32 streak_loss = 10 [json_name = "streakLoss"];
* @return This builder for chaining.
*/
public Builder clearStreakLoss() {
copyOnWrite();
instance.clearStreakLoss();
return this;
}
/**
*
* for summary request only
*
*
* int32 friends_rank = 11 [json_name = "friendsRank"];
* @return The friendsRank.
*/
@java.lang.Override
public int getFriendsRank() {
return instance.getFriendsRank();
}
/**
*
* for summary request only
*
*
* int32 friends_rank = 11 [json_name = "friendsRank"];
* @param value The friendsRank to set.
* @return This builder for chaining.
*/
public Builder setFriendsRank(int value) {
copyOnWrite();
instance.setFriendsRank(value);
return this;
}
/**
*
* for summary request only
*
*
* int32 friends_rank = 11 [json_name = "friendsRank"];
* @return This builder for chaining.
*/
public Builder clearFriendsRank() {
copyOnWrite();
instance.clearFriendsRank();
return this;
}
/**
*
* for summary request only
*
*
* int32 in_top = 12 [json_name = "inTop"];
* @return The inTop.
*/
@java.lang.Override
public int getInTop() {
return instance.getInTop();
}
/**
*
* for summary request only
*
*
* int32 in_top = 12 [json_name = "inTop"];
* @param value The inTop to set.
* @return This builder for chaining.
*/
public Builder setInTop(int value) {
copyOnWrite();
instance.setInTop(value);
return this;
}
/**
*
* for summary request only
*
*
* int32 in_top = 12 [json_name = "inTop"];
* @return This builder for chaining.
*/
public Builder clearInTop() {
copyOnWrite();
instance.clearInTop();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.leaderboard.LeaderboardItem)
}
@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.LeaderboardItem();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"streak_",
"correct_",
"incorrect_",
"points_",
"rank_",
"name_",
"avatar_",
"userId_",
"recentCorrect_",
"streakLoss_",
"friendsRank_",
"inTop_",
};
java.lang.String info =
"\u0000\f\u0000\u0000\u0001\f\f\u0000\u0000\u0000\u0001\u0004\u0002\u0004\u0003\u0004" +
"\u0004\u0004\u0005\u0004\u0006\u0208\u0007\u0208\b\u0208\t\u0004\n\u0004\u000b\u0004" +
"\f\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.LeaderboardItem.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.LeaderboardItem)
private static final com.streamlayer.interactive.leaderboard.LeaderboardItem DEFAULT_INSTANCE;
static {
LeaderboardItem defaultInstance = new LeaderboardItem();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LeaderboardItem.class, defaultInstance);
}
public static com.streamlayer.interactive.leaderboard.LeaderboardItem getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}