main.java.com.streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio 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/organization/getstream/organizations.getstream.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sdkSettings.organization.getstream;
/**
* Protobuf type {@code streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio}
*/
public final class GetStreamSettingsStudio extends
com.google.protobuf.GeneratedMessageLite<
GetStreamSettingsStudio, GetStreamSettingsStudio.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio)
GetStreamSettingsStudioOrBuilder {
private GetStreamSettingsStudio() {
key_ = "";
appId_ = "";
}
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 com.streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio 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.organization.getstream.GetStreamSettingsStudio 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.organization.getstream.GetStreamSettingsStudio 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.organization.getstream.GetStreamSettingsStudio parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio 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.organization.getstream.GetStreamSettingsStudio parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio 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.organization.getstream.GetStreamSettingsStudio parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio 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.organization.getstream.GetStreamSettingsStudio parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio 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.organization.getstream.GetStreamSettingsStudio prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio)
com.streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudioOrBuilder {
// Construct using com.streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio.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;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio)
}
@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.organization.getstream.GetStreamSettingsStudio();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"enabled_",
"key_",
"appId_",
"defaultChannelType_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\f\u0002\u0208" +
"\u0003\u0208\u0004\f";
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.organization.getstream.GetStreamSettingsStudio.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.organization.getstream.GetStreamSettingsStudio)
private static final com.streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio DEFAULT_INSTANCE;
static {
GetStreamSettingsStudio defaultInstance = new GetStreamSettingsStudio();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GetStreamSettingsStudio.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.organization.getstream.GetStreamSettingsStudio getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}