main.java.com.streamlayer.sdkSettings.common.GetStreamChannels 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.GetStreamChannels}
*/
public final class GetStreamChannels extends
com.google.protobuf.GeneratedMessageLite<
GetStreamChannels, GetStreamChannels.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.GetStreamChannels)
GetStreamChannelsOrBuilder {
private GetStreamChannels() {
key_ = "";
appId_ = "";
channels_ = emptyProtobufList();
}
private int bitField0_;
public static final int ENABLED_FIELD_NUMBER = 1;
private int enabled_;
/**
* .streamlayer.sdkSettings.GetStreamEnabled enabled = 1 [json_name = "enabled"];
* @return The enum numeric value on the wire for enabled.
*/
@java.lang.Override
public int getEnabledValue() {
return enabled_;
}
/**
* .streamlayer.sdkSettings.GetStreamEnabled enabled = 1 [json_name = "enabled"];
* @return The enabled.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.GetStreamEnabled getEnabled() {
com.streamlayer.sdkSettings.common.GetStreamEnabled result = com.streamlayer.sdkSettings.common.GetStreamEnabled.forNumber(enabled_);
return result == null ? com.streamlayer.sdkSettings.common.GetStreamEnabled.UNRECOGNIZED : result;
}
/**
* .streamlayer.sdkSettings.GetStreamEnabled enabled = 1 [json_name = "enabled"];
* @param value The enum numeric value on the wire for enabled to set.
*/
private void setEnabledValue(int value) {
enabled_ = value;
}
/**
* .streamlayer.sdkSettings.GetStreamEnabled enabled = 1 [json_name = "enabled"];
* @param value The enabled to set.
*/
private void setEnabled(com.streamlayer.sdkSettings.common.GetStreamEnabled value) {
enabled_ = value.getNumber();
}
/**
* .streamlayer.sdkSettings.GetStreamEnabled enabled = 1 [json_name = "enabled"];
*/
private void clearEnabled() {
enabled_ = 0;
}
public static final int KEY_FIELD_NUMBER = 2;
private java.lang.String key_;
/**
* string key = 2 [json_name = "key"];
* @return The key.
*/
@java.lang.Override
public java.lang.String getKey() {
return key_;
}
/**
* string key = 2 [json_name = "key"];
* @return The bytes for key.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(key_);
}
/**
* string key = 2 [json_name = "key"];
* @param value The key to set.
*/
private void setKey(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
key_ = value;
}
/**
* string key = 2 [json_name = "key"];
*/
private void clearKey() {
key_ = getDefaultInstance().getKey();
}
/**
* string key = 2 [json_name = "key"];
* @param value The bytes for key to set.
*/
private void setKeyBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
key_ = value.toStringUtf8();
}
public static final int APP_ID_FIELD_NUMBER = 3;
private java.lang.String appId_;
/**
* string app_id = 3 [json_name = "appId"];
* @return The appId.
*/
@java.lang.Override
public java.lang.String getAppId() {
return appId_;
}
/**
* string app_id = 3 [json_name = "appId"];
* @return The bytes for appId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(appId_);
}
/**
* string app_id = 3 [json_name = "appId"];
* @param value The appId to set.
*/
private void setAppId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
appId_ = value;
}
/**
* string app_id = 3 [json_name = "appId"];
*/
private void clearAppId() {
appId_ = getDefaultInstance().getAppId();
}
/**
* string app_id = 3 [json_name = "appId"];
* @param value The bytes for appId to set.
*/
private void setAppIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
appId_ = value.toStringUtf8();
}
public static final int DEFAULT_CHANNEL_TYPE_FIELD_NUMBER = 4;
private int defaultChannelType_;
/**
* .streamlayer.sdkSettings.GetStreamChannelType default_channel_type = 4 [json_name = "defaultChannelType"];
* @return The enum numeric value on the wire for defaultChannelType.
*/
@java.lang.Override
public int getDefaultChannelTypeValue() {
return defaultChannelType_;
}
/**
* .streamlayer.sdkSettings.GetStreamChannelType default_channel_type = 4 [json_name = "defaultChannelType"];
* @return The defaultChannelType.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.GetStreamChannelType getDefaultChannelType() {
com.streamlayer.sdkSettings.common.GetStreamChannelType result = com.streamlayer.sdkSettings.common.GetStreamChannelType.forNumber(defaultChannelType_);
return result == null ? com.streamlayer.sdkSettings.common.GetStreamChannelType.UNRECOGNIZED : result;
}
/**
* .streamlayer.sdkSettings.GetStreamChannelType default_channel_type = 4 [json_name = "defaultChannelType"];
* @param value The enum numeric value on the wire for defaultChannelType to set.
*/
private void setDefaultChannelTypeValue(int value) {
defaultChannelType_ = value;
}
/**
* .streamlayer.sdkSettings.GetStreamChannelType default_channel_type = 4 [json_name = "defaultChannelType"];
* @param value The defaultChannelType to set.
*/
private void setDefaultChannelType(com.streamlayer.sdkSettings.common.GetStreamChannelType value) {
defaultChannelType_ = value.getNumber();
}
/**
* .streamlayer.sdkSettings.GetStreamChannelType default_channel_type = 4 [json_name = "defaultChannelType"];
*/
private void clearDefaultChannelType() {
defaultChannelType_ = 0;
}
public static final int DEFAULT_CHANNEL_FIELD_NUMBER = 5;
private com.streamlayer.sdkSettings.common.GetStreamChannel defaultChannel_;
/**
* .streamlayer.sdkSettings.GetStreamChannel default_channel = 5 [json_name = "defaultChannel"];
*/
@java.lang.Override
public boolean hasDefaultChannel() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sdkSettings.GetStreamChannel default_channel = 5 [json_name = "defaultChannel"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.GetStreamChannel getDefaultChannel() {
return defaultChannel_ == null ? com.streamlayer.sdkSettings.common.GetStreamChannel.getDefaultInstance() : defaultChannel_;
}
/**
* .streamlayer.sdkSettings.GetStreamChannel default_channel = 5 [json_name = "defaultChannel"];
*/
private void setDefaultChannel(com.streamlayer.sdkSettings.common.GetStreamChannel value) {
value.getClass();
defaultChannel_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.GetStreamChannel default_channel = 5 [json_name = "defaultChannel"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeDefaultChannel(com.streamlayer.sdkSettings.common.GetStreamChannel value) {
value.getClass();
if (defaultChannel_ != null &&
defaultChannel_ != com.streamlayer.sdkSettings.common.GetStreamChannel.getDefaultInstance()) {
defaultChannel_ =
com.streamlayer.sdkSettings.common.GetStreamChannel.newBuilder(defaultChannel_).mergeFrom(value).buildPartial();
} else {
defaultChannel_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.GetStreamChannel default_channel = 5 [json_name = "defaultChannel"];
*/
private void clearDefaultChannel() { defaultChannel_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int CHANNELS_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.ProtobufList channels_;
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
@java.lang.Override
public java.util.List getChannelsList() {
return channels_;
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
public java.util.List extends com.streamlayer.sdkSettings.common.GetStreamChannelOrBuilder>
getChannelsOrBuilderList() {
return channels_;
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
@java.lang.Override
public int getChannelsCount() {
return channels_.size();
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.GetStreamChannel getChannels(int index) {
return channels_.get(index);
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
public com.streamlayer.sdkSettings.common.GetStreamChannelOrBuilder getChannelsOrBuilder(
int index) {
return channels_.get(index);
}
private void ensureChannelsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = channels_;
if (!tmp.isModifiable()) {
channels_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
private void setChannels(
int index, com.streamlayer.sdkSettings.common.GetStreamChannel value) {
value.getClass();
ensureChannelsIsMutable();
channels_.set(index, value);
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
private void addChannels(com.streamlayer.sdkSettings.common.GetStreamChannel value) {
value.getClass();
ensureChannelsIsMutable();
channels_.add(value);
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
private void addChannels(
int index, com.streamlayer.sdkSettings.common.GetStreamChannel value) {
value.getClass();
ensureChannelsIsMutable();
channels_.add(index, value);
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
private void addAllChannels(
java.lang.Iterable extends com.streamlayer.sdkSettings.common.GetStreamChannel> values) {
ensureChannelsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, channels_);
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
private void clearChannels() {
channels_ = emptyProtobufList();
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
private void removeChannels(int index) {
ensureChannelsIsMutable();
channels_.remove(index);
}
public static com.streamlayer.sdkSettings.common.GetStreamChannels 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.GetStreamChannels 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.GetStreamChannels 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.GetStreamChannels 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.GetStreamChannels parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.GetStreamChannels 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.GetStreamChannels parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.GetStreamChannels 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.GetStreamChannels parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.GetStreamChannels 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.GetStreamChannels 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.GetStreamChannels 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.GetStreamChannels prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.GetStreamChannels}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.common.GetStreamChannels, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.GetStreamChannels)
com.streamlayer.sdkSettings.common.GetStreamChannelsOrBuilder {
// Construct using com.streamlayer.sdkSettings.common.GetStreamChannels.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sdkSettings.GetStreamEnabled enabled = 1 [json_name = "enabled"];
* @return The enum numeric value on the wire for enabled.
*/
@java.lang.Override
public int getEnabledValue() {
return instance.getEnabledValue();
}
/**
* .streamlayer.sdkSettings.GetStreamEnabled enabled = 1 [json_name = "enabled"];
* @param value The enabled to set.
* @return This builder for chaining.
*/
public Builder setEnabledValue(int value) {
copyOnWrite();
instance.setEnabledValue(value);
return this;
}
/**
* .streamlayer.sdkSettings.GetStreamEnabled enabled = 1 [json_name = "enabled"];
* @return The enabled.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.GetStreamEnabled getEnabled() {
return instance.getEnabled();
}
/**
* .streamlayer.sdkSettings.GetStreamEnabled enabled = 1 [json_name = "enabled"];
* @param value The enum numeric value on the wire for enabled to set.
* @return This builder for chaining.
*/
public Builder setEnabled(com.streamlayer.sdkSettings.common.GetStreamEnabled value) {
copyOnWrite();
instance.setEnabled(value);
return this;
}
/**
* .streamlayer.sdkSettings.GetStreamEnabled enabled = 1 [json_name = "enabled"];
* @return This builder for chaining.
*/
public Builder clearEnabled() {
copyOnWrite();
instance.clearEnabled();
return this;
}
/**
* string key = 2 [json_name = "key"];
* @return The key.
*/
@java.lang.Override
public java.lang.String getKey() {
return instance.getKey();
}
/**
* string key = 2 [json_name = "key"];
* @return The bytes for key.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyBytes() {
return instance.getKeyBytes();
}
/**
* string key = 2 [json_name = "key"];
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(
java.lang.String value) {
copyOnWrite();
instance.setKey(value);
return this;
}
/**
* string key = 2 [json_name = "key"];
* @return This builder for chaining.
*/
public Builder clearKey() {
copyOnWrite();
instance.clearKey();
return this;
}
/**
* string key = 2 [json_name = "key"];
* @param value The bytes for key to set.
* @return This builder for chaining.
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setKeyBytes(value);
return this;
}
/**
* string app_id = 3 [json_name = "appId"];
* @return The appId.
*/
@java.lang.Override
public java.lang.String getAppId() {
return instance.getAppId();
}
/**
* string app_id = 3 [json_name = "appId"];
* @return The bytes for appId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppIdBytes() {
return instance.getAppIdBytes();
}
/**
* string app_id = 3 [json_name = "appId"];
* @param value The appId to set.
* @return This builder for chaining.
*/
public Builder setAppId(
java.lang.String value) {
copyOnWrite();
instance.setAppId(value);
return this;
}
/**
* string app_id = 3 [json_name = "appId"];
* @return This builder for chaining.
*/
public Builder clearAppId() {
copyOnWrite();
instance.clearAppId();
return this;
}
/**
* string app_id = 3 [json_name = "appId"];
* @param value The bytes for appId to set.
* @return This builder for chaining.
*/
public Builder setAppIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppIdBytes(value);
return this;
}
/**
* .streamlayer.sdkSettings.GetStreamChannelType default_channel_type = 4 [json_name = "defaultChannelType"];
* @return The enum numeric value on the wire for defaultChannelType.
*/
@java.lang.Override
public int getDefaultChannelTypeValue() {
return instance.getDefaultChannelTypeValue();
}
/**
* .streamlayer.sdkSettings.GetStreamChannelType default_channel_type = 4 [json_name = "defaultChannelType"];
* @param value The defaultChannelType to set.
* @return This builder for chaining.
*/
public Builder setDefaultChannelTypeValue(int value) {
copyOnWrite();
instance.setDefaultChannelTypeValue(value);
return this;
}
/**
* .streamlayer.sdkSettings.GetStreamChannelType default_channel_type = 4 [json_name = "defaultChannelType"];
* @return The defaultChannelType.
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.GetStreamChannelType getDefaultChannelType() {
return instance.getDefaultChannelType();
}
/**
* .streamlayer.sdkSettings.GetStreamChannelType default_channel_type = 4 [json_name = "defaultChannelType"];
* @param value The enum numeric value on the wire for defaultChannelType to set.
* @return This builder for chaining.
*/
public Builder setDefaultChannelType(com.streamlayer.sdkSettings.common.GetStreamChannelType value) {
copyOnWrite();
instance.setDefaultChannelType(value);
return this;
}
/**
* .streamlayer.sdkSettings.GetStreamChannelType default_channel_type = 4 [json_name = "defaultChannelType"];
* @return This builder for chaining.
*/
public Builder clearDefaultChannelType() {
copyOnWrite();
instance.clearDefaultChannelType();
return this;
}
/**
* .streamlayer.sdkSettings.GetStreamChannel default_channel = 5 [json_name = "defaultChannel"];
*/
@java.lang.Override
public boolean hasDefaultChannel() {
return instance.hasDefaultChannel();
}
/**
* .streamlayer.sdkSettings.GetStreamChannel default_channel = 5 [json_name = "defaultChannel"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.GetStreamChannel getDefaultChannel() {
return instance.getDefaultChannel();
}
/**
* .streamlayer.sdkSettings.GetStreamChannel default_channel = 5 [json_name = "defaultChannel"];
*/
public Builder setDefaultChannel(com.streamlayer.sdkSettings.common.GetStreamChannel value) {
copyOnWrite();
instance.setDefaultChannel(value);
return this;
}
/**
* .streamlayer.sdkSettings.GetStreamChannel default_channel = 5 [json_name = "defaultChannel"];
*/
public Builder setDefaultChannel(
com.streamlayer.sdkSettings.common.GetStreamChannel.Builder builderForValue) {
copyOnWrite();
instance.setDefaultChannel(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.GetStreamChannel default_channel = 5 [json_name = "defaultChannel"];
*/
public Builder mergeDefaultChannel(com.streamlayer.sdkSettings.common.GetStreamChannel value) {
copyOnWrite();
instance.mergeDefaultChannel(value);
return this;
}
/**
* .streamlayer.sdkSettings.GetStreamChannel default_channel = 5 [json_name = "defaultChannel"];
*/
public Builder clearDefaultChannel() { copyOnWrite();
instance.clearDefaultChannel();
return this;
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
@java.lang.Override
public java.util.List getChannelsList() {
return java.util.Collections.unmodifiableList(
instance.getChannelsList());
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
@java.lang.Override
public int getChannelsCount() {
return instance.getChannelsCount();
}/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.GetStreamChannel getChannels(int index) {
return instance.getChannels(index);
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
public Builder setChannels(
int index, com.streamlayer.sdkSettings.common.GetStreamChannel value) {
copyOnWrite();
instance.setChannels(index, value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
public Builder setChannels(
int index, com.streamlayer.sdkSettings.common.GetStreamChannel.Builder builderForValue) {
copyOnWrite();
instance.setChannels(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
public Builder addChannels(com.streamlayer.sdkSettings.common.GetStreamChannel value) {
copyOnWrite();
instance.addChannels(value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
public Builder addChannels(
int index, com.streamlayer.sdkSettings.common.GetStreamChannel value) {
copyOnWrite();
instance.addChannels(index, value);
return this;
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
public Builder addChannels(
com.streamlayer.sdkSettings.common.GetStreamChannel.Builder builderForValue) {
copyOnWrite();
instance.addChannels(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
public Builder addChannels(
int index, com.streamlayer.sdkSettings.common.GetStreamChannel.Builder builderForValue) {
copyOnWrite();
instance.addChannels(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
public Builder addAllChannels(
java.lang.Iterable extends com.streamlayer.sdkSettings.common.GetStreamChannel> values) {
copyOnWrite();
instance.addAllChannels(values);
return this;
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
public Builder clearChannels() {
copyOnWrite();
instance.clearChannels();
return this;
}
/**
* repeated .streamlayer.sdkSettings.GetStreamChannel channels = 6 [json_name = "channels"];
*/
public Builder removeChannels(int index) {
copyOnWrite();
instance.removeChannels(index);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.GetStreamChannels)
}
@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.GetStreamChannels();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"enabled_",
"key_",
"appId_",
"defaultChannelType_",
"defaultChannel_",
"channels_",
com.streamlayer.sdkSettings.common.GetStreamChannel.class,
};
java.lang.String info =
"\u0000\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0001\u0000\u0001\f\u0002\u0208" +
"\u0003\u0208\u0004\f\u0005\u1009\u0000\u0006\u001b";
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.GetStreamChannels.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.GetStreamChannels)
private static final com.streamlayer.sdkSettings.common.GetStreamChannels DEFAULT_INSTANCE;
static {
GetStreamChannels defaultInstance = new GetStreamChannels();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GetStreamChannels.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.common.GetStreamChannels getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}