main.java.com.streamlayer.sdkSettings.game.common.GameOverview 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/sdkSettings/game/common/game_common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sdkSettings.game.common;
/**
* Protobuf type {@code streamlayer.sdkSettings.game.common.GameOverview}
*/
public final class GameOverview extends
com.google.protobuf.GeneratedMessageLite<
GameOverview, GameOverview.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.game.common.GameOverview)
GameOverviewOrBuilder {
private GameOverview() {
title_ = "";
description_ = "";
prizes_ = emptyProtobufList();
}
private int bitField0_;
public static final int TITLE_FIELD_NUMBER = 1;
private java.lang.String title_;
/**
* string title = 1 [json_name = "title"];
* @return The title.
*/
@java.lang.Override
public java.lang.String getTitle() {
return title_;
}
/**
* string title = 1 [json_name = "title"];
* @return The bytes for title.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTitleBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(title_);
}
/**
* string title = 1 [json_name = "title"];
* @param value The title to set.
*/
private void setTitle(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
title_ = value;
}
/**
* string title = 1 [json_name = "title"];
*/
private void clearTitle() {
title_ = getDefaultInstance().getTitle();
}
/**
* string title = 1 [json_name = "title"];
* @param value The bytes for title to set.
*/
private void setTitleBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
title_ = value.toStringUtf8();
}
public static final int DESCRIPTION_FIELD_NUMBER = 2;
private java.lang.String description_;
/**
* string description = 2 [json_name = "description"];
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
return description_;
}
/**
* string description = 2 [json_name = "description"];
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(description_);
}
/**
* string description = 2 [json_name = "description"];
* @param value The description to set.
*/
private void setDescription(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
description_ = value;
}
/**
* string description = 2 [json_name = "description"];
*/
private void clearDescription() {
description_ = getDefaultInstance().getDescription();
}
/**
* string description = 2 [json_name = "description"];
* @param value The bytes for description to set.
*/
private void setDescriptionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
description_ = value.toStringUtf8();
}
public static final int AUTO_ACTIVATE_FIELD_NUMBER = 3;
private boolean autoActivate_;
/**
* bool auto_activate = 3 [json_name = "autoActivate"];
* @return The autoActivate.
*/
@java.lang.Override
public boolean getAutoActivate() {
return autoActivate_;
}
/**
* bool auto_activate = 3 [json_name = "autoActivate"];
* @param value The autoActivate to set.
*/
private void setAutoActivate(boolean value) {
autoActivate_ = value;
}
/**
* bool auto_activate = 3 [json_name = "autoActivate"];
*/
private void clearAutoActivate() {
autoActivate_ = false;
}
public static final int SCORING_FIELD_NUMBER = 4;
private boolean scoring_;
/**
*
* points/no points
*
*
* bool scoring = 4 [json_name = "scoring"];
* @return The scoring.
*/
@java.lang.Override
public boolean getScoring() {
return scoring_;
}
/**
*
* points/no points
*
*
* bool scoring = 4 [json_name = "scoring"];
* @param value The scoring to set.
*/
private void setScoring(boolean value) {
scoring_ = value;
}
/**
*
* points/no points
*
*
* bool scoring = 4 [json_name = "scoring"];
*/
private void clearScoring() {
scoring_ = false;
}
public static final int MEDIA_FIELD_NUMBER = 5;
private com.streamlayer.sdkSettings.game.common.GameMedia media_;
/**
* .streamlayer.sdkSettings.game.common.GameMedia media = 5 [json_name = "media"];
*/
@java.lang.Override
public boolean hasMedia() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sdkSettings.game.common.GameMedia media = 5 [json_name = "media"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameMedia getMedia() {
return media_ == null ? com.streamlayer.sdkSettings.game.common.GameMedia.getDefaultInstance() : media_;
}
/**
* .streamlayer.sdkSettings.game.common.GameMedia media = 5 [json_name = "media"];
*/
private void setMedia(com.streamlayer.sdkSettings.game.common.GameMedia value) {
value.getClass();
media_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.game.common.GameMedia media = 5 [json_name = "media"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeMedia(com.streamlayer.sdkSettings.game.common.GameMedia value) {
value.getClass();
if (media_ != null &&
media_ != com.streamlayer.sdkSettings.game.common.GameMedia.getDefaultInstance()) {
media_ =
com.streamlayer.sdkSettings.game.common.GameMedia.newBuilder(media_).mergeFrom(value).buildPartial();
} else {
media_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.game.common.GameMedia media = 5 [json_name = "media"];
*/
private void clearMedia() { media_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int APPEARANCE_FIELD_NUMBER = 6;
private com.streamlayer.sdkSettings.game.common.GameAppearance appearance_;
/**
* .streamlayer.sdkSettings.game.common.GameAppearance appearance = 6 [json_name = "appearance"];
*/
@java.lang.Override
public boolean hasAppearance() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.sdkSettings.game.common.GameAppearance appearance = 6 [json_name = "appearance"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameAppearance getAppearance() {
return appearance_ == null ? com.streamlayer.sdkSettings.game.common.GameAppearance.getDefaultInstance() : appearance_;
}
/**
* .streamlayer.sdkSettings.game.common.GameAppearance appearance = 6 [json_name = "appearance"];
*/
private void setAppearance(com.streamlayer.sdkSettings.game.common.GameAppearance value) {
value.getClass();
appearance_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sdkSettings.game.common.GameAppearance appearance = 6 [json_name = "appearance"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAppearance(com.streamlayer.sdkSettings.game.common.GameAppearance value) {
value.getClass();
if (appearance_ != null &&
appearance_ != com.streamlayer.sdkSettings.game.common.GameAppearance.getDefaultInstance()) {
appearance_ =
com.streamlayer.sdkSettings.game.common.GameAppearance.newBuilder(appearance_).mergeFrom(value).buildPartial();
} else {
appearance_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sdkSettings.game.common.GameAppearance appearance = 6 [json_name = "appearance"];
*/
private void clearAppearance() { appearance_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int PRIZES_FIELD_NUMBER = 7;
private com.google.protobuf.Internal.ProtobufList prizes_;
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
@java.lang.Override
public java.util.List getPrizesList() {
return prizes_;
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
public java.util.List extends com.streamlayer.sdkSettings.game.common.GamePrizeOrBuilder>
getPrizesOrBuilderList() {
return prizes_;
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
@java.lang.Override
public int getPrizesCount() {
return prizes_.size();
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GamePrize getPrizes(int index) {
return prizes_.get(index);
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
public com.streamlayer.sdkSettings.game.common.GamePrizeOrBuilder getPrizesOrBuilder(
int index) {
return prizes_.get(index);
}
private void ensurePrizesIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = prizes_;
if (!tmp.isModifiable()) {
prizes_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
private void setPrizes(
int index, com.streamlayer.sdkSettings.game.common.GamePrize value) {
value.getClass();
ensurePrizesIsMutable();
prizes_.set(index, value);
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
private void addPrizes(com.streamlayer.sdkSettings.game.common.GamePrize value) {
value.getClass();
ensurePrizesIsMutable();
prizes_.add(value);
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
private void addPrizes(
int index, com.streamlayer.sdkSettings.game.common.GamePrize value) {
value.getClass();
ensurePrizesIsMutable();
prizes_.add(index, value);
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
private void addAllPrizes(
java.lang.Iterable extends com.streamlayer.sdkSettings.game.common.GamePrize> values) {
ensurePrizesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, prizes_);
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
private void clearPrizes() {
prizes_ = emptyProtobufList();
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
private void removePrizes(int index) {
ensurePrizesIsMutable();
prizes_.remove(index);
}
public static final int COMPLETED_FIELD_NUMBER = 8;
private boolean completed_;
/**
* bool completed = 8 [json_name = "completed"];
* @return The completed.
*/
@java.lang.Override
public boolean getCompleted() {
return completed_;
}
/**
* bool completed = 8 [json_name = "completed"];
* @param value The completed to set.
*/
private void setCompleted(boolean value) {
completed_ = value;
}
/**
* bool completed = 8 [json_name = "completed"];
*/
private void clearCompleted() {
completed_ = false;
}
public static com.streamlayer.sdkSettings.game.common.GameOverview parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.game.common.GameOverview 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.sdkSettings.game.common.GameOverview parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.game.common.GameOverview 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.sdkSettings.game.common.GameOverview parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.game.common.GameOverview 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.sdkSettings.game.common.GameOverview parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.game.common.GameOverview 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.sdkSettings.game.common.GameOverview parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.game.common.GameOverview parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sdkSettings.game.common.GameOverview parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.game.common.GameOverview 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.sdkSettings.game.common.GameOverview prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.game.common.GameOverview}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.game.common.GameOverview, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.game.common.GameOverview)
com.streamlayer.sdkSettings.game.common.GameOverviewOrBuilder {
// Construct using com.streamlayer.sdkSettings.game.common.GameOverview.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string title = 1 [json_name = "title"];
* @return The title.
*/
@java.lang.Override
public java.lang.String getTitle() {
return instance.getTitle();
}
/**
* string title = 1 [json_name = "title"];
* @return The bytes for title.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTitleBytes() {
return instance.getTitleBytes();
}
/**
* string title = 1 [json_name = "title"];
* @param value The title to set.
* @return This builder for chaining.
*/
public Builder setTitle(
java.lang.String value) {
copyOnWrite();
instance.setTitle(value);
return this;
}
/**
* string title = 1 [json_name = "title"];
* @return This builder for chaining.
*/
public Builder clearTitle() {
copyOnWrite();
instance.clearTitle();
return this;
}
/**
* string title = 1 [json_name = "title"];
* @param value The bytes for title to set.
* @return This builder for chaining.
*/
public Builder setTitleBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTitleBytes(value);
return this;
}
/**
* string description = 2 [json_name = "description"];
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
return instance.getDescription();
}
/**
* string description = 2 [json_name = "description"];
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
return instance.getDescriptionBytes();
}
/**
* string description = 2 [json_name = "description"];
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
copyOnWrite();
instance.setDescription(value);
return this;
}
/**
* string description = 2 [json_name = "description"];
* @return This builder for chaining.
*/
public Builder clearDescription() {
copyOnWrite();
instance.clearDescription();
return this;
}
/**
* string description = 2 [json_name = "description"];
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDescriptionBytes(value);
return this;
}
/**
* bool auto_activate = 3 [json_name = "autoActivate"];
* @return The autoActivate.
*/
@java.lang.Override
public boolean getAutoActivate() {
return instance.getAutoActivate();
}
/**
* bool auto_activate = 3 [json_name = "autoActivate"];
* @param value The autoActivate to set.
* @return This builder for chaining.
*/
public Builder setAutoActivate(boolean value) {
copyOnWrite();
instance.setAutoActivate(value);
return this;
}
/**
* bool auto_activate = 3 [json_name = "autoActivate"];
* @return This builder for chaining.
*/
public Builder clearAutoActivate() {
copyOnWrite();
instance.clearAutoActivate();
return this;
}
/**
*
* points/no points
*
*
* bool scoring = 4 [json_name = "scoring"];
* @return The scoring.
*/
@java.lang.Override
public boolean getScoring() {
return instance.getScoring();
}
/**
*
* points/no points
*
*
* bool scoring = 4 [json_name = "scoring"];
* @param value The scoring to set.
* @return This builder for chaining.
*/
public Builder setScoring(boolean value) {
copyOnWrite();
instance.setScoring(value);
return this;
}
/**
*
* points/no points
*
*
* bool scoring = 4 [json_name = "scoring"];
* @return This builder for chaining.
*/
public Builder clearScoring() {
copyOnWrite();
instance.clearScoring();
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameMedia media = 5 [json_name = "media"];
*/
@java.lang.Override
public boolean hasMedia() {
return instance.hasMedia();
}
/**
* .streamlayer.sdkSettings.game.common.GameMedia media = 5 [json_name = "media"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameMedia getMedia() {
return instance.getMedia();
}
/**
* .streamlayer.sdkSettings.game.common.GameMedia media = 5 [json_name = "media"];
*/
public Builder setMedia(com.streamlayer.sdkSettings.game.common.GameMedia value) {
copyOnWrite();
instance.setMedia(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameMedia media = 5 [json_name = "media"];
*/
public Builder setMedia(
com.streamlayer.sdkSettings.game.common.GameMedia.Builder builderForValue) {
copyOnWrite();
instance.setMedia(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameMedia media = 5 [json_name = "media"];
*/
public Builder mergeMedia(com.streamlayer.sdkSettings.game.common.GameMedia value) {
copyOnWrite();
instance.mergeMedia(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameMedia media = 5 [json_name = "media"];
*/
public Builder clearMedia() { copyOnWrite();
instance.clearMedia();
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameAppearance appearance = 6 [json_name = "appearance"];
*/
@java.lang.Override
public boolean hasAppearance() {
return instance.hasAppearance();
}
/**
* .streamlayer.sdkSettings.game.common.GameAppearance appearance = 6 [json_name = "appearance"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GameAppearance getAppearance() {
return instance.getAppearance();
}
/**
* .streamlayer.sdkSettings.game.common.GameAppearance appearance = 6 [json_name = "appearance"];
*/
public Builder setAppearance(com.streamlayer.sdkSettings.game.common.GameAppearance value) {
copyOnWrite();
instance.setAppearance(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameAppearance appearance = 6 [json_name = "appearance"];
*/
public Builder setAppearance(
com.streamlayer.sdkSettings.game.common.GameAppearance.Builder builderForValue) {
copyOnWrite();
instance.setAppearance(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameAppearance appearance = 6 [json_name = "appearance"];
*/
public Builder mergeAppearance(com.streamlayer.sdkSettings.game.common.GameAppearance value) {
copyOnWrite();
instance.mergeAppearance(value);
return this;
}
/**
* .streamlayer.sdkSettings.game.common.GameAppearance appearance = 6 [json_name = "appearance"];
*/
public Builder clearAppearance() { copyOnWrite();
instance.clearAppearance();
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
@java.lang.Override
public java.util.List getPrizesList() {
return java.util.Collections.unmodifiableList(
instance.getPrizesList());
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
@java.lang.Override
public int getPrizesCount() {
return instance.getPrizesCount();
}/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.GamePrize getPrizes(int index) {
return instance.getPrizes(index);
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
public Builder setPrizes(
int index, com.streamlayer.sdkSettings.game.common.GamePrize value) {
copyOnWrite();
instance.setPrizes(index, value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
public Builder setPrizes(
int index, com.streamlayer.sdkSettings.game.common.GamePrize.Builder builderForValue) {
copyOnWrite();
instance.setPrizes(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
public Builder addPrizes(com.streamlayer.sdkSettings.game.common.GamePrize value) {
copyOnWrite();
instance.addPrizes(value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
public Builder addPrizes(
int index, com.streamlayer.sdkSettings.game.common.GamePrize value) {
copyOnWrite();
instance.addPrizes(index, value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
public Builder addPrizes(
com.streamlayer.sdkSettings.game.common.GamePrize.Builder builderForValue) {
copyOnWrite();
instance.addPrizes(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
public Builder addPrizes(
int index, com.streamlayer.sdkSettings.game.common.GamePrize.Builder builderForValue) {
copyOnWrite();
instance.addPrizes(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
public Builder addAllPrizes(
java.lang.Iterable extends com.streamlayer.sdkSettings.game.common.GamePrize> values) {
copyOnWrite();
instance.addAllPrizes(values);
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
public Builder clearPrizes() {
copyOnWrite();
instance.clearPrizes();
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.GamePrize prizes = 7 [json_name = "prizes"];
*/
public Builder removePrizes(int index) {
copyOnWrite();
instance.removePrizes(index);
return this;
}
/**
* bool completed = 8 [json_name = "completed"];
* @return The completed.
*/
@java.lang.Override
public boolean getCompleted() {
return instance.getCompleted();
}
/**
* bool completed = 8 [json_name = "completed"];
* @param value The completed to set.
* @return This builder for chaining.
*/
public Builder setCompleted(boolean value) {
copyOnWrite();
instance.setCompleted(value);
return this;
}
/**
* bool completed = 8 [json_name = "completed"];
* @return This builder for chaining.
*/
public Builder clearCompleted() {
copyOnWrite();
instance.clearCompleted();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.game.common.GameOverview)
}
@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.sdkSettings.game.common.GameOverview();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"title_",
"description_",
"autoActivate_",
"scoring_",
"media_",
"appearance_",
"prizes_",
com.streamlayer.sdkSettings.game.common.GamePrize.class,
"completed_",
};
java.lang.String info =
"\u0000\b\u0000\u0001\u0001\b\b\u0000\u0001\u0000\u0001\u0208\u0002\u0208\u0003\u0007" +
"\u0004\u0007\u0005\u1009\u0000\u0006\u1009\u0001\u0007\u001b\b\u0007";
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.sdkSettings.game.common.GameOverview.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.sdkSettings.game.common.GameOverview)
private static final com.streamlayer.sdkSettings.game.common.GameOverview DEFAULT_INSTANCE;
static {
GameOverview defaultInstance = new GameOverview();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GameOverview.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.game.common.GameOverview getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}