main.java.com.streamlayer.sdkSettings.game.common.GameOnboarding 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.GameOnboarding}
*/
public final class GameOnboarding extends
com.google.protobuf.GeneratedMessageLite<
GameOnboarding, GameOnboarding.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.game.common.GameOnboarding)
GameOnboardingOrBuilder {
private GameOnboarding() {
steps_ = emptyProtobufList();
}
public static final int STEPS_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList steps_;
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
@java.lang.Override
public java.util.List getStepsList() {
return steps_;
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
public java.util.List extends com.streamlayer.sdkSettings.game.common.OnboardingStepOrBuilder>
getStepsOrBuilderList() {
return steps_;
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
@java.lang.Override
public int getStepsCount() {
return steps_.size();
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.OnboardingStep getSteps(int index) {
return steps_.get(index);
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
public com.streamlayer.sdkSettings.game.common.OnboardingStepOrBuilder getStepsOrBuilder(
int index) {
return steps_.get(index);
}
private void ensureStepsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = steps_;
if (!tmp.isModifiable()) {
steps_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
private void setSteps(
int index, com.streamlayer.sdkSettings.game.common.OnboardingStep value) {
value.getClass();
ensureStepsIsMutable();
steps_.set(index, value);
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
private void addSteps(com.streamlayer.sdkSettings.game.common.OnboardingStep value) {
value.getClass();
ensureStepsIsMutable();
steps_.add(value);
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
private void addSteps(
int index, com.streamlayer.sdkSettings.game.common.OnboardingStep value) {
value.getClass();
ensureStepsIsMutable();
steps_.add(index, value);
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
private void addAllSteps(
java.lang.Iterable extends com.streamlayer.sdkSettings.game.common.OnboardingStep> values) {
ensureStepsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, steps_);
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
private void clearSteps() {
steps_ = emptyProtobufList();
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
private void removeSteps(int index) {
ensureStepsIsMutable();
steps_.remove(index);
}
public static final int COMPLETED_FIELD_NUMBER = 2;
private boolean completed_;
/**
*
* flag for studio moderators
*
*
* bool completed = 2 [json_name = "completed"];
* @return The completed.
*/
@java.lang.Override
public boolean getCompleted() {
return completed_;
}
/**
*
* flag for studio moderators
*
*
* bool completed = 2 [json_name = "completed"];
* @param value The completed to set.
*/
private void setCompleted(boolean value) {
completed_ = value;
}
/**
*
* flag for studio moderators
*
*
* bool completed = 2 [json_name = "completed"];
*/
private void clearCompleted() {
completed_ = false;
}
public static com.streamlayer.sdkSettings.game.common.GameOnboarding 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.GameOnboarding 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.GameOnboarding 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.GameOnboarding 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.GameOnboarding parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.game.common.GameOnboarding 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.GameOnboarding 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.GameOnboarding 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.GameOnboarding parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.game.common.GameOnboarding 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.GameOnboarding 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.GameOnboarding 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.GameOnboarding prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.game.common.GameOnboarding}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.game.common.GameOnboarding, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.game.common.GameOnboarding)
com.streamlayer.sdkSettings.game.common.GameOnboardingOrBuilder {
// Construct using com.streamlayer.sdkSettings.game.common.GameOnboarding.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
@java.lang.Override
public java.util.List getStepsList() {
return java.util.Collections.unmodifiableList(
instance.getStepsList());
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
@java.lang.Override
public int getStepsCount() {
return instance.getStepsCount();
}/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.game.common.OnboardingStep getSteps(int index) {
return instance.getSteps(index);
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
public Builder setSteps(
int index, com.streamlayer.sdkSettings.game.common.OnboardingStep value) {
copyOnWrite();
instance.setSteps(index, value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
public Builder setSteps(
int index, com.streamlayer.sdkSettings.game.common.OnboardingStep.Builder builderForValue) {
copyOnWrite();
instance.setSteps(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
public Builder addSteps(com.streamlayer.sdkSettings.game.common.OnboardingStep value) {
copyOnWrite();
instance.addSteps(value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
public Builder addSteps(
int index, com.streamlayer.sdkSettings.game.common.OnboardingStep value) {
copyOnWrite();
instance.addSteps(index, value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
public Builder addSteps(
com.streamlayer.sdkSettings.game.common.OnboardingStep.Builder builderForValue) {
copyOnWrite();
instance.addSteps(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
public Builder addSteps(
int index, com.streamlayer.sdkSettings.game.common.OnboardingStep.Builder builderForValue) {
copyOnWrite();
instance.addSteps(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
public Builder addAllSteps(
java.lang.Iterable extends com.streamlayer.sdkSettings.game.common.OnboardingStep> values) {
copyOnWrite();
instance.addAllSteps(values);
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
public Builder clearSteps() {
copyOnWrite();
instance.clearSteps();
return this;
}
/**
* repeated .streamlayer.sdkSettings.game.common.OnboardingStep steps = 1 [json_name = "steps"];
*/
public Builder removeSteps(int index) {
copyOnWrite();
instance.removeSteps(index);
return this;
}
/**
*
* flag for studio moderators
*
*
* bool completed = 2 [json_name = "completed"];
* @return The completed.
*/
@java.lang.Override
public boolean getCompleted() {
return instance.getCompleted();
}
/**
*
* flag for studio moderators
*
*
* bool completed = 2 [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;
}
/**
*
* flag for studio moderators
*
*
* bool completed = 2 [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.GameOnboarding)
}
@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.GameOnboarding();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"steps_",
com.streamlayer.sdkSettings.game.common.OnboardingStep.class,
"completed_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u001b\u0002\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.GameOnboarding.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.GameOnboarding)
private static final com.streamlayer.sdkSettings.game.common.GameOnboarding DEFAULT_INSTANCE;
static {
GameOnboarding defaultInstance = new GameOnboarding();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GameOnboarding.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.game.common.GameOnboarding getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}