main.java.com.streamlayer.sdkSettings.common.BrandDefaults 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/sdkSettings.common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sdkSettings.common;
/**
* Protobuf type {@code streamlayer.sdkSettings.BrandDefaults}
*/
public final class BrandDefaults extends
com.google.protobuf.GeneratedMessageLite<
BrandDefaults, BrandDefaults.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.BrandDefaults)
BrandDefaultsOrBuilder {
private BrandDefaults() {
}
public interface AppearanceOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.sdkSettings.BrandDefaults.Appearance)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string primary_color = 1 [json_name = "primaryColor"];
* @return The primaryColor.
*/
java.lang.String getPrimaryColor();
/**
* string primary_color = 1 [json_name = "primaryColor"];
* @return The bytes for primaryColor.
*/
com.google.protobuf.ByteString
getPrimaryColorBytes();
/**
* string secondary_color = 2 [json_name = "secondaryColor"];
* @return The secondaryColor.
*/
java.lang.String getSecondaryColor();
/**
* string secondary_color = 2 [json_name = "secondaryColor"];
* @return The bytes for secondaryColor.
*/
com.google.protobuf.ByteString
getSecondaryColorBytes();
/**
* string accent_color = 3 [json_name = "accentColor"];
* @return The accentColor.
*/
java.lang.String getAccentColor();
/**
* string accent_color = 3 [json_name = "accentColor"];
* @return The bytes for accentColor.
*/
com.google.protobuf.ByteString
getAccentColorBytes();
}
/**
* Protobuf type {@code streamlayer.sdkSettings.BrandDefaults.Appearance}
*/
public static final class Appearance extends
com.google.protobuf.GeneratedMessageLite<
Appearance, Appearance.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.BrandDefaults.Appearance)
AppearanceOrBuilder {
private Appearance() {
primaryColor_ = "";
secondaryColor_ = "";
accentColor_ = "";
}
public static final int PRIMARY_COLOR_FIELD_NUMBER = 1;
private java.lang.String primaryColor_;
/**
* string primary_color = 1 [json_name = "primaryColor"];
* @return The primaryColor.
*/
@java.lang.Override
public java.lang.String getPrimaryColor() {
return primaryColor_;
}
/**
* string primary_color = 1 [json_name = "primaryColor"];
* @return The bytes for primaryColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrimaryColorBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(primaryColor_);
}
/**
* string primary_color = 1 [json_name = "primaryColor"];
* @param value The primaryColor to set.
*/
private void setPrimaryColor(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
primaryColor_ = value;
}
/**
* string primary_color = 1 [json_name = "primaryColor"];
*/
private void clearPrimaryColor() {
primaryColor_ = getDefaultInstance().getPrimaryColor();
}
/**
* string primary_color = 1 [json_name = "primaryColor"];
* @param value The bytes for primaryColor to set.
*/
private void setPrimaryColorBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
primaryColor_ = value.toStringUtf8();
}
public static final int SECONDARY_COLOR_FIELD_NUMBER = 2;
private java.lang.String secondaryColor_;
/**
* string secondary_color = 2 [json_name = "secondaryColor"];
* @return The secondaryColor.
*/
@java.lang.Override
public java.lang.String getSecondaryColor() {
return secondaryColor_;
}
/**
* string secondary_color = 2 [json_name = "secondaryColor"];
* @return The bytes for secondaryColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSecondaryColorBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(secondaryColor_);
}
/**
* string secondary_color = 2 [json_name = "secondaryColor"];
* @param value The secondaryColor to set.
*/
private void setSecondaryColor(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
secondaryColor_ = value;
}
/**
* string secondary_color = 2 [json_name = "secondaryColor"];
*/
private void clearSecondaryColor() {
secondaryColor_ = getDefaultInstance().getSecondaryColor();
}
/**
* string secondary_color = 2 [json_name = "secondaryColor"];
* @param value The bytes for secondaryColor to set.
*/
private void setSecondaryColorBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
secondaryColor_ = value.toStringUtf8();
}
public static final int ACCENT_COLOR_FIELD_NUMBER = 3;
private java.lang.String accentColor_;
/**
* string accent_color = 3 [json_name = "accentColor"];
* @return The accentColor.
*/
@java.lang.Override
public java.lang.String getAccentColor() {
return accentColor_;
}
/**
* string accent_color = 3 [json_name = "accentColor"];
* @return The bytes for accentColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccentColorBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(accentColor_);
}
/**
* string accent_color = 3 [json_name = "accentColor"];
* @param value The accentColor to set.
*/
private void setAccentColor(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
accentColor_ = value;
}
/**
* string accent_color = 3 [json_name = "accentColor"];
*/
private void clearAccentColor() {
accentColor_ = getDefaultInstance().getAccentColor();
}
/**
* string accent_color = 3 [json_name = "accentColor"];
* @param value The bytes for accentColor to set.
*/
private void setAccentColorBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
accentColor_ = value.toStringUtf8();
}
public static com.streamlayer.sdkSettings.common.BrandDefaults.Appearance parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults.Appearance 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.common.BrandDefaults.Appearance 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.common.BrandDefaults.Appearance 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.common.BrandDefaults.Appearance parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults.Appearance 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.common.BrandDefaults.Appearance parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults.Appearance 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.common.BrandDefaults.Appearance parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults.Appearance 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.common.BrandDefaults.Appearance parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults.Appearance 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.common.BrandDefaults.Appearance prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.BrandDefaults.Appearance}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.common.BrandDefaults.Appearance, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.BrandDefaults.Appearance)
com.streamlayer.sdkSettings.common.BrandDefaults.AppearanceOrBuilder {
// Construct using com.streamlayer.sdkSettings.common.BrandDefaults.Appearance.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string primary_color = 1 [json_name = "primaryColor"];
* @return The primaryColor.
*/
@java.lang.Override
public java.lang.String getPrimaryColor() {
return instance.getPrimaryColor();
}
/**
* string primary_color = 1 [json_name = "primaryColor"];
* @return The bytes for primaryColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrimaryColorBytes() {
return instance.getPrimaryColorBytes();
}
/**
* string primary_color = 1 [json_name = "primaryColor"];
* @param value The primaryColor to set.
* @return This builder for chaining.
*/
public Builder setPrimaryColor(
java.lang.String value) {
copyOnWrite();
instance.setPrimaryColor(value);
return this;
}
/**
* string primary_color = 1 [json_name = "primaryColor"];
* @return This builder for chaining.
*/
public Builder clearPrimaryColor() {
copyOnWrite();
instance.clearPrimaryColor();
return this;
}
/**
* string primary_color = 1 [json_name = "primaryColor"];
* @param value The bytes for primaryColor to set.
* @return This builder for chaining.
*/
public Builder setPrimaryColorBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPrimaryColorBytes(value);
return this;
}
/**
* string secondary_color = 2 [json_name = "secondaryColor"];
* @return The secondaryColor.
*/
@java.lang.Override
public java.lang.String getSecondaryColor() {
return instance.getSecondaryColor();
}
/**
* string secondary_color = 2 [json_name = "secondaryColor"];
* @return The bytes for secondaryColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSecondaryColorBytes() {
return instance.getSecondaryColorBytes();
}
/**
* string secondary_color = 2 [json_name = "secondaryColor"];
* @param value The secondaryColor to set.
* @return This builder for chaining.
*/
public Builder setSecondaryColor(
java.lang.String value) {
copyOnWrite();
instance.setSecondaryColor(value);
return this;
}
/**
* string secondary_color = 2 [json_name = "secondaryColor"];
* @return This builder for chaining.
*/
public Builder clearSecondaryColor() {
copyOnWrite();
instance.clearSecondaryColor();
return this;
}
/**
* string secondary_color = 2 [json_name = "secondaryColor"];
* @param value The bytes for secondaryColor to set.
* @return This builder for chaining.
*/
public Builder setSecondaryColorBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSecondaryColorBytes(value);
return this;
}
/**
* string accent_color = 3 [json_name = "accentColor"];
* @return The accentColor.
*/
@java.lang.Override
public java.lang.String getAccentColor() {
return instance.getAccentColor();
}
/**
* string accent_color = 3 [json_name = "accentColor"];
* @return The bytes for accentColor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccentColorBytes() {
return instance.getAccentColorBytes();
}
/**
* string accent_color = 3 [json_name = "accentColor"];
* @param value The accentColor to set.
* @return This builder for chaining.
*/
public Builder setAccentColor(
java.lang.String value) {
copyOnWrite();
instance.setAccentColor(value);
return this;
}
/**
* string accent_color = 3 [json_name = "accentColor"];
* @return This builder for chaining.
*/
public Builder clearAccentColor() {
copyOnWrite();
instance.clearAccentColor();
return this;
}
/**
* string accent_color = 3 [json_name = "accentColor"];
* @param value The bytes for accentColor to set.
* @return This builder for chaining.
*/
public Builder setAccentColorBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAccentColorBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.BrandDefaults.Appearance)
}
@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.common.BrandDefaults.Appearance();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"primaryColor_",
"secondaryColor_",
"accentColor_",
};
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.common.BrandDefaults.Appearance.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.BrandDefaults.Appearance)
private static final com.streamlayer.sdkSettings.common.BrandDefaults.Appearance DEFAULT_INSTANCE;
static {
Appearance defaultInstance = new Appearance();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Appearance.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults.Appearance 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 APPEARANCE_FIELD_NUMBER = 1;
private com.streamlayer.sdkSettings.common.BrandDefaults.Appearance appearance_;
/**
* .streamlayer.sdkSettings.BrandDefaults.Appearance appearance = 1 [json_name = "appearance"];
*/
@java.lang.Override
public boolean hasAppearance() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sdkSettings.BrandDefaults.Appearance appearance = 1 [json_name = "appearance"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.BrandDefaults.Appearance getAppearance() {
return appearance_ == null ? com.streamlayer.sdkSettings.common.BrandDefaults.Appearance.getDefaultInstance() : appearance_;
}
/**
* .streamlayer.sdkSettings.BrandDefaults.Appearance appearance = 1 [json_name = "appearance"];
*/
private void setAppearance(com.streamlayer.sdkSettings.common.BrandDefaults.Appearance value) {
value.getClass();
appearance_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.BrandDefaults.Appearance appearance = 1 [json_name = "appearance"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAppearance(com.streamlayer.sdkSettings.common.BrandDefaults.Appearance value) {
value.getClass();
if (appearance_ != null &&
appearance_ != com.streamlayer.sdkSettings.common.BrandDefaults.Appearance.getDefaultInstance()) {
appearance_ =
com.streamlayer.sdkSettings.common.BrandDefaults.Appearance.newBuilder(appearance_).mergeFrom(value).buildPartial();
} else {
appearance_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.BrandDefaults.Appearance appearance = 1 [json_name = "appearance"];
*/
private void clearAppearance() { appearance_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults 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.common.BrandDefaults 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.common.BrandDefaults 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.common.BrandDefaults parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults 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.common.BrandDefaults parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults 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.common.BrandDefaults parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults 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.common.BrandDefaults parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults 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.common.BrandDefaults prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.BrandDefaults}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.common.BrandDefaults, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.BrandDefaults)
com.streamlayer.sdkSettings.common.BrandDefaultsOrBuilder {
// Construct using com.streamlayer.sdkSettings.common.BrandDefaults.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sdkSettings.BrandDefaults.Appearance appearance = 1 [json_name = "appearance"];
*/
@java.lang.Override
public boolean hasAppearance() {
return instance.hasAppearance();
}
/**
* .streamlayer.sdkSettings.BrandDefaults.Appearance appearance = 1 [json_name = "appearance"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.BrandDefaults.Appearance getAppearance() {
return instance.getAppearance();
}
/**
* .streamlayer.sdkSettings.BrandDefaults.Appearance appearance = 1 [json_name = "appearance"];
*/
public Builder setAppearance(com.streamlayer.sdkSettings.common.BrandDefaults.Appearance value) {
copyOnWrite();
instance.setAppearance(value);
return this;
}
/**
* .streamlayer.sdkSettings.BrandDefaults.Appearance appearance = 1 [json_name = "appearance"];
*/
public Builder setAppearance(
com.streamlayer.sdkSettings.common.BrandDefaults.Appearance.Builder builderForValue) {
copyOnWrite();
instance.setAppearance(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.BrandDefaults.Appearance appearance = 1 [json_name = "appearance"];
*/
public Builder mergeAppearance(com.streamlayer.sdkSettings.common.BrandDefaults.Appearance value) {
copyOnWrite();
instance.mergeAppearance(value);
return this;
}
/**
* .streamlayer.sdkSettings.BrandDefaults.Appearance appearance = 1 [json_name = "appearance"];
*/
public Builder clearAppearance() { copyOnWrite();
instance.clearAppearance();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.BrandDefaults)
}
@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.common.BrandDefaults();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"appearance_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1009\u0000";
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.common.BrandDefaults.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.BrandDefaults)
private static final com.streamlayer.sdkSettings.common.BrandDefaults DEFAULT_INSTANCE;
static {
BrandDefaults defaultInstance = new BrandDefaults();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
BrandDefaults.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.common.BrandDefaults getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}