main.java.com.streamlayer.sdkSettings.common.SdkOverlayMeta 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.SdkOverlayMeta}
*/
public final class SdkOverlayMeta extends
com.google.protobuf.GeneratedMessageLite<
SdkOverlayMeta, SdkOverlayMeta.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.SdkOverlayMeta)
SdkOverlayMetaOrBuilder {
private SdkOverlayMeta() {
}
private int bitField0_;
public static final int ORGANIZATION_FIELD_NUMBER = 1;
private com.streamlayer.sdkSettings.common.SdkOverlaySettings organization_;
/**
* .streamlayer.sdkSettings.SdkOverlaySettings organization = 1 [json_name = "organization"];
*/
@java.lang.Override
public boolean hasOrganization() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings organization = 1 [json_name = "organization"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.SdkOverlaySettings getOrganization() {
return organization_ == null ? com.streamlayer.sdkSettings.common.SdkOverlaySettings.getDefaultInstance() : organization_;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings organization = 1 [json_name = "organization"];
*/
private void setOrganization(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
value.getClass();
organization_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings organization = 1 [json_name = "organization"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeOrganization(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
value.getClass();
if (organization_ != null &&
organization_ != com.streamlayer.sdkSettings.common.SdkOverlaySettings.getDefaultInstance()) {
organization_ =
com.streamlayer.sdkSettings.common.SdkOverlaySettings.newBuilder(organization_).mergeFrom(value).buildPartial();
} else {
organization_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings organization = 1 [json_name = "organization"];
*/
private void clearOrganization() { organization_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int GLOBAL_PRESET_FIELD_NUMBER = 2;
private com.streamlayer.sdkSettings.common.SdkOverlaySettings globalPreset_;
/**
* .streamlayer.sdkSettings.SdkOverlaySettings global_preset = 2 [json_name = "globalPreset"];
*/
@java.lang.Override
public boolean hasGlobalPreset() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings global_preset = 2 [json_name = "globalPreset"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.SdkOverlaySettings getGlobalPreset() {
return globalPreset_ == null ? com.streamlayer.sdkSettings.common.SdkOverlaySettings.getDefaultInstance() : globalPreset_;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings global_preset = 2 [json_name = "globalPreset"];
*/
private void setGlobalPreset(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
value.getClass();
globalPreset_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings global_preset = 2 [json_name = "globalPreset"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeGlobalPreset(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
value.getClass();
if (globalPreset_ != null &&
globalPreset_ != com.streamlayer.sdkSettings.common.SdkOverlaySettings.getDefaultInstance()) {
globalPreset_ =
com.streamlayer.sdkSettings.common.SdkOverlaySettings.newBuilder(globalPreset_).mergeFrom(value).buildPartial();
} else {
globalPreset_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings global_preset = 2 [json_name = "globalPreset"];
*/
private void clearGlobalPreset() { globalPreset_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int PRESET_FIELD_NUMBER = 3;
private com.streamlayer.sdkSettings.common.SdkOverlaySettings preset_;
/**
* .streamlayer.sdkSettings.SdkOverlaySettings preset = 3 [json_name = "preset"];
*/
@java.lang.Override
public boolean hasPreset() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings preset = 3 [json_name = "preset"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.SdkOverlaySettings getPreset() {
return preset_ == null ? com.streamlayer.sdkSettings.common.SdkOverlaySettings.getDefaultInstance() : preset_;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings preset = 3 [json_name = "preset"];
*/
private void setPreset(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
value.getClass();
preset_ = value;
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings preset = 3 [json_name = "preset"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergePreset(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
value.getClass();
if (preset_ != null &&
preset_ != com.streamlayer.sdkSettings.common.SdkOverlaySettings.getDefaultInstance()) {
preset_ =
com.streamlayer.sdkSettings.common.SdkOverlaySettings.newBuilder(preset_).mergeFrom(value).buildPartial();
} else {
preset_ = value;
}
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings preset = 3 [json_name = "preset"];
*/
private void clearPreset() { preset_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int STREAM_FIELD_NUMBER = 4;
private com.streamlayer.sdkSettings.common.SdkOverlaySettings stream_;
/**
* .streamlayer.sdkSettings.SdkOverlaySettings stream = 4 [json_name = "stream"];
*/
@java.lang.Override
public boolean hasStream() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings stream = 4 [json_name = "stream"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.SdkOverlaySettings getStream() {
return stream_ == null ? com.streamlayer.sdkSettings.common.SdkOverlaySettings.getDefaultInstance() : stream_;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings stream = 4 [json_name = "stream"];
*/
private void setStream(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
value.getClass();
stream_ = value;
bitField0_ |= 0x00000008;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings stream = 4 [json_name = "stream"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeStream(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
value.getClass();
if (stream_ != null &&
stream_ != com.streamlayer.sdkSettings.common.SdkOverlaySettings.getDefaultInstance()) {
stream_ =
com.streamlayer.sdkSettings.common.SdkOverlaySettings.newBuilder(stream_).mergeFrom(value).buildPartial();
} else {
stream_ = value;
}
bitField0_ |= 0x00000008;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings stream = 4 [json_name = "stream"];
*/
private void clearStream() { stream_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static com.streamlayer.sdkSettings.common.SdkOverlayMeta 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.SdkOverlayMeta 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.SdkOverlayMeta 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.SdkOverlayMeta 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.SdkOverlayMeta parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sdkSettings.common.SdkOverlayMeta 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.SdkOverlayMeta parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.SdkOverlayMeta 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.SdkOverlayMeta parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sdkSettings.common.SdkOverlayMeta 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.SdkOverlayMeta 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.SdkOverlayMeta 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.SdkOverlayMeta prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sdkSettings.SdkOverlayMeta}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sdkSettings.common.SdkOverlayMeta, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.SdkOverlayMeta)
com.streamlayer.sdkSettings.common.SdkOverlayMetaOrBuilder {
// Construct using com.streamlayer.sdkSettings.common.SdkOverlayMeta.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings organization = 1 [json_name = "organization"];
*/
@java.lang.Override
public boolean hasOrganization() {
return instance.hasOrganization();
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings organization = 1 [json_name = "organization"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.SdkOverlaySettings getOrganization() {
return instance.getOrganization();
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings organization = 1 [json_name = "organization"];
*/
public Builder setOrganization(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
copyOnWrite();
instance.setOrganization(value);
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings organization = 1 [json_name = "organization"];
*/
public Builder setOrganization(
com.streamlayer.sdkSettings.common.SdkOverlaySettings.Builder builderForValue) {
copyOnWrite();
instance.setOrganization(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings organization = 1 [json_name = "organization"];
*/
public Builder mergeOrganization(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
copyOnWrite();
instance.mergeOrganization(value);
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings organization = 1 [json_name = "organization"];
*/
public Builder clearOrganization() { copyOnWrite();
instance.clearOrganization();
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings global_preset = 2 [json_name = "globalPreset"];
*/
@java.lang.Override
public boolean hasGlobalPreset() {
return instance.hasGlobalPreset();
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings global_preset = 2 [json_name = "globalPreset"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.SdkOverlaySettings getGlobalPreset() {
return instance.getGlobalPreset();
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings global_preset = 2 [json_name = "globalPreset"];
*/
public Builder setGlobalPreset(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
copyOnWrite();
instance.setGlobalPreset(value);
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings global_preset = 2 [json_name = "globalPreset"];
*/
public Builder setGlobalPreset(
com.streamlayer.sdkSettings.common.SdkOverlaySettings.Builder builderForValue) {
copyOnWrite();
instance.setGlobalPreset(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings global_preset = 2 [json_name = "globalPreset"];
*/
public Builder mergeGlobalPreset(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
copyOnWrite();
instance.mergeGlobalPreset(value);
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings global_preset = 2 [json_name = "globalPreset"];
*/
public Builder clearGlobalPreset() { copyOnWrite();
instance.clearGlobalPreset();
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings preset = 3 [json_name = "preset"];
*/
@java.lang.Override
public boolean hasPreset() {
return instance.hasPreset();
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings preset = 3 [json_name = "preset"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.SdkOverlaySettings getPreset() {
return instance.getPreset();
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings preset = 3 [json_name = "preset"];
*/
public Builder setPreset(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
copyOnWrite();
instance.setPreset(value);
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings preset = 3 [json_name = "preset"];
*/
public Builder setPreset(
com.streamlayer.sdkSettings.common.SdkOverlaySettings.Builder builderForValue) {
copyOnWrite();
instance.setPreset(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings preset = 3 [json_name = "preset"];
*/
public Builder mergePreset(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
copyOnWrite();
instance.mergePreset(value);
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings preset = 3 [json_name = "preset"];
*/
public Builder clearPreset() { copyOnWrite();
instance.clearPreset();
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings stream = 4 [json_name = "stream"];
*/
@java.lang.Override
public boolean hasStream() {
return instance.hasStream();
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings stream = 4 [json_name = "stream"];
*/
@java.lang.Override
public com.streamlayer.sdkSettings.common.SdkOverlaySettings getStream() {
return instance.getStream();
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings stream = 4 [json_name = "stream"];
*/
public Builder setStream(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
copyOnWrite();
instance.setStream(value);
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings stream = 4 [json_name = "stream"];
*/
public Builder setStream(
com.streamlayer.sdkSettings.common.SdkOverlaySettings.Builder builderForValue) {
copyOnWrite();
instance.setStream(builderForValue.build());
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings stream = 4 [json_name = "stream"];
*/
public Builder mergeStream(com.streamlayer.sdkSettings.common.SdkOverlaySettings value) {
copyOnWrite();
instance.mergeStream(value);
return this;
}
/**
* .streamlayer.sdkSettings.SdkOverlaySettings stream = 4 [json_name = "stream"];
*/
public Builder clearStream() { copyOnWrite();
instance.clearStream();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.SdkOverlayMeta)
}
@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.SdkOverlayMeta();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"organization_",
"globalPreset_",
"preset_",
"stream_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u1009\u0001\u0003\u1009\u0002\u0004\u1009\u0003";
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.SdkOverlayMeta.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.SdkOverlayMeta)
private static final com.streamlayer.sdkSettings.common.SdkOverlayMeta DEFAULT_INSTANCE;
static {
SdkOverlayMeta defaultInstance = new SdkOverlayMeta();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SdkOverlayMeta.class, defaultInstance);
}
public static com.streamlayer.sdkSettings.common.SdkOverlayMeta getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}