main.java.com.streamlayer.sdkSettings.game.common.OnboardingStep 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.OnboardingStep}
*/
public final class OnboardingStep extends
com.google.protobuf.GeneratedMessageLite<
OnboardingStep, OnboardingStep.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.game.common.OnboardingStep)
OnboardingStepOrBuilder {
private OnboardingStep() {
headline_ = "";
body_ = "";
graphic_ = "";
}
public static final int HEADLINE_FIELD_NUMBER = 1;
private java.lang.String headline_;
/**
* string headline = 1 [json_name = "headline"];
* @return The headline.
*/
@java.lang.Override
public java.lang.String getHeadline() {
return headline_;
}
/**
* string headline = 1 [json_name = "headline"];
* @return The bytes for headline.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHeadlineBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(headline_);
}
/**
* string headline = 1 [json_name = "headline"];
* @param value The headline to set.
*/
private void setHeadline(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
headline_ = value;
}
/**
* string headline = 1 [json_name = "headline"];
*/
private void clearHeadline() {
headline_ = getDefaultInstance().getHeadline();
}
/**
* string headline = 1 [json_name = "headline"];
* @param value The bytes for headline to set.
*/
private void setHeadlineBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
headline_ = value.toStringUtf8();
}
public static final int BODY_FIELD_NUMBER = 2;
private java.lang.String body_;
/**
* string body = 2 [json_name = "body"];
* @return The body.
*/
@java.lang.Override
public java.lang.String getBody() {
return body_;
}
/**
* string body = 2 [json_name = "body"];
* @return The bytes for body.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBodyBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(body_);
}
/**
* string body = 2 [json_name = "body"];
* @param value The body to set.
*/
private void setBody(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
body_ = value;
}
/**
* string body = 2 [json_name = "body"];
*/
private void clearBody() {
body_ = getDefaultInstance().getBody();
}
/**
* string body = 2 [json_name = "body"];
* @param value The bytes for body to set.
*/
private void setBodyBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
body_ = value.toStringUtf8();
}
public static final int GRAPHIC_FIELD_NUMBER = 3;
private java.lang.String graphic_;
/**
* string graphic = 3 [json_name = "graphic"];
* @return The graphic.
*/
@java.lang.Override
public java.lang.String getGraphic() {
return graphic_;
}
/**
* string graphic = 3 [json_name = "graphic"];
* @return The bytes for graphic.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGraphicBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(graphic_);
}
/**
* string graphic = 3 [json_name = "graphic"];
* @param value The graphic to set.
*/
private void setGraphic(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
graphic_ = value;
}
/**
* string graphic = 3 [json_name = "graphic"];
*/
private void clearGraphic() {
graphic_ = getDefaultInstance().getGraphic();
}
/**
* string graphic = 3 [json_name = "graphic"];
* @param value The bytes for graphic to set.
*/
private void setGraphicBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
graphic_ = value.toStringUtf8();
}
public static com.streamlayer.sdkSettings.game.common.OnboardingStep 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.OnboardingStep 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.OnboardingStep 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.OnboardingStep 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.OnboardingStep parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.game.common.OnboardingStep 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.OnboardingStep 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.OnboardingStep 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.OnboardingStep parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.game.common.OnboardingStep 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.OnboardingStep 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.OnboardingStep 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.OnboardingStep prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.game.common.OnboardingStep}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.game.common.OnboardingStep, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.game.common.OnboardingStep)
com.streamlayer.sdkSettings.game.common.OnboardingStepOrBuilder {
// Construct using com.streamlayer.sdkSettings.game.common.OnboardingStep.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string headline = 1 [json_name = "headline"];
* @return The headline.
*/
@java.lang.Override
public java.lang.String getHeadline() {
return instance.getHeadline();
}
/**
* string headline = 1 [json_name = "headline"];
* @return The bytes for headline.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHeadlineBytes() {
return instance.getHeadlineBytes();
}
/**
* string headline = 1 [json_name = "headline"];
* @param value The headline to set.
* @return This builder for chaining.
*/
public Builder setHeadline(
java.lang.String value) {
copyOnWrite();
instance.setHeadline(value);
return this;
}
/**
* string headline = 1 [json_name = "headline"];
* @return This builder for chaining.
*/
public Builder clearHeadline() {
copyOnWrite();
instance.clearHeadline();
return this;
}
/**
* string headline = 1 [json_name = "headline"];
* @param value The bytes for headline to set.
* @return This builder for chaining.
*/
public Builder setHeadlineBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setHeadlineBytes(value);
return this;
}
/**
* string body = 2 [json_name = "body"];
* @return The body.
*/
@java.lang.Override
public java.lang.String getBody() {
return instance.getBody();
}
/**
* string body = 2 [json_name = "body"];
* @return The bytes for body.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBodyBytes() {
return instance.getBodyBytes();
}
/**
* string body = 2 [json_name = "body"];
* @param value The body to set.
* @return This builder for chaining.
*/
public Builder setBody(
java.lang.String value) {
copyOnWrite();
instance.setBody(value);
return this;
}
/**
* string body = 2 [json_name = "body"];
* @return This builder for chaining.
*/
public Builder clearBody() {
copyOnWrite();
instance.clearBody();
return this;
}
/**
* string body = 2 [json_name = "body"];
* @param value The bytes for body to set.
* @return This builder for chaining.
*/
public Builder setBodyBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBodyBytes(value);
return this;
}
/**
* string graphic = 3 [json_name = "graphic"];
* @return The graphic.
*/
@java.lang.Override
public java.lang.String getGraphic() {
return instance.getGraphic();
}
/**
* string graphic = 3 [json_name = "graphic"];
* @return The bytes for graphic.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGraphicBytes() {
return instance.getGraphicBytes();
}
/**
* string graphic = 3 [json_name = "graphic"];
* @param value The graphic to set.
* @return This builder for chaining.
*/
public Builder setGraphic(
java.lang.String value) {
copyOnWrite();
instance.setGraphic(value);
return this;
}
/**
* string graphic = 3 [json_name = "graphic"];
* @return This builder for chaining.
*/
public Builder clearGraphic() {
copyOnWrite();
instance.clearGraphic();
return this;
}
/**
* string graphic = 3 [json_name = "graphic"];
* @param value The bytes for graphic to set.
* @return This builder for chaining.
*/
public Builder setGraphicBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setGraphicBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.game.common.OnboardingStep)
}
@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.OnboardingStep();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"headline_",
"body_",
"graphic_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
"\u0003\u0208";
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.OnboardingStep.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.OnboardingStep)
private static final com.streamlayer.sdkSettings.game.common.OnboardingStep DEFAULT_INSTANCE;
static {
OnboardingStep defaultInstance = new OnboardingStep();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
OnboardingStep.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.game.common.OnboardingStep getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}