main.java.com.streamlayer.triggers.GetMetadataResponse 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/triggers/triggers.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.triggers;
/**
* Protobuf type {@code streamlayer.triggers.GetMetadataResponse}
*/
public final class GetMetadataResponse extends
com.google.protobuf.GeneratedMessageLite<
GetMetadataResponse, GetMetadataResponse.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.triggers.GetMetadataResponse)
GetMetadataResponseOrBuilder {
private GetMetadataResponse() {
}
public interface StudioEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.triggers.GetMetadataResponse.StudioEvent)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string id = 1 [json_name = "id"];
* @return The id.
*/
java.lang.String getId();
/**
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* string sport = 2 [json_name = "sport"];
* @return The sport.
*/
java.lang.String getSport();
/**
* string sport = 2 [json_name = "sport"];
* @return The bytes for sport.
*/
com.google.protobuf.ByteString
getSportBytes();
/**
* bool primary = 3 [json_name = "primary"];
* @return The primary.
*/
boolean getPrimary();
/**
* .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
* @return The enum numeric value on the wire for input.
*/
int getInputValue();
/**
* .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
* @return The input.
*/
com.streamlayer.triggers.StudioInput getInput();
/**
* string label = 5 [json_name = "label"];
* @return The label.
*/
java.lang.String getLabel();
/**
* string label = 5 [json_name = "label"];
* @return The bytes for label.
*/
com.google.protobuf.ByteString
getLabelBytes();
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @return A list containing the preferredOptions.
*/
java.util.List
getPreferredOptionsList();
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @return The count of preferredOptions.
*/
int getPreferredOptionsCount();
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param index The index of the element to return.
* @return The preferredOptions at the given index.
*/
java.lang.String getPreferredOptions(int index);
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param index The index of the element to return.
* @return The preferredOptions at the given index.
*/
com.google.protobuf.ByteString
getPreferredOptionsBytes(int index);
/**
* repeated string compare = 7 [json_name = "compare"];
* @return A list containing the compare.
*/
java.util.List
getCompareList();
/**
* repeated string compare = 7 [json_name = "compare"];
* @return The count of compare.
*/
int getCompareCount();
/**
* repeated string compare = 7 [json_name = "compare"];
* @param index The index of the element to return.
* @return The compare at the given index.
*/
java.lang.String getCompare(int index);
/**
* repeated string compare = 7 [json_name = "compare"];
* @param index The index of the element to return.
* @return The compare at the given index.
*/
com.google.protobuf.ByteString
getCompareBytes(int index);
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @return Whether the targetSource field is set.
*/
boolean hasTargetSource();
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @return The targetSource.
*/
java.lang.String getTargetSource();
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @return The bytes for targetSource.
*/
com.google.protobuf.ByteString
getTargetSourceBytes();
}
/**
* Protobuf type {@code streamlayer.triggers.GetMetadataResponse.StudioEvent}
*/
public static final class StudioEvent extends
com.google.protobuf.GeneratedMessageLite<
StudioEvent, StudioEvent.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.triggers.GetMetadataResponse.StudioEvent)
StudioEventOrBuilder {
private StudioEvent() {
id_ = "";
sport_ = "";
label_ = "";
preferredOptions_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
compare_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
targetSource_ = "";
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* string id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* string id = 1 [json_name = "id"];
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
id_ = value;
}
/**
* string id = 1 [json_name = "id"];
*/
private void clearId() {
id_ = getDefaultInstance().getId();
}
/**
* string id = 1 [json_name = "id"];
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
id_ = value.toStringUtf8();
}
public static final int SPORT_FIELD_NUMBER = 2;
private java.lang.String sport_;
/**
* string sport = 2 [json_name = "sport"];
* @return The sport.
*/
@java.lang.Override
public java.lang.String getSport() {
return sport_;
}
/**
* string sport = 2 [json_name = "sport"];
* @return The bytes for sport.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSportBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(sport_);
}
/**
* string sport = 2 [json_name = "sport"];
* @param value The sport to set.
*/
private void setSport(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
sport_ = value;
}
/**
* string sport = 2 [json_name = "sport"];
*/
private void clearSport() {
sport_ = getDefaultInstance().getSport();
}
/**
* string sport = 2 [json_name = "sport"];
* @param value The bytes for sport to set.
*/
private void setSportBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
sport_ = value.toStringUtf8();
}
public static final int PRIMARY_FIELD_NUMBER = 3;
private boolean primary_;
/**
* bool primary = 3 [json_name = "primary"];
* @return The primary.
*/
@java.lang.Override
public boolean getPrimary() {
return primary_;
}
/**
* bool primary = 3 [json_name = "primary"];
* @param value The primary to set.
*/
private void setPrimary(boolean value) {
primary_ = value;
}
/**
* bool primary = 3 [json_name = "primary"];
*/
private void clearPrimary() {
primary_ = false;
}
public static final int INPUT_FIELD_NUMBER = 4;
private int input_;
/**
* .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
* @return The enum numeric value on the wire for input.
*/
@java.lang.Override
public int getInputValue() {
return input_;
}
/**
* .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
* @return The input.
*/
@java.lang.Override
public com.streamlayer.triggers.StudioInput getInput() {
com.streamlayer.triggers.StudioInput result = com.streamlayer.triggers.StudioInput.forNumber(input_);
return result == null ? com.streamlayer.triggers.StudioInput.UNRECOGNIZED : result;
}
/**
* .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
* @param value The enum numeric value on the wire for input to set.
*/
private void setInputValue(int value) {
input_ = value;
}
/**
* .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
* @param value The input to set.
*/
private void setInput(com.streamlayer.triggers.StudioInput value) {
input_ = value.getNumber();
}
/**
* .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
*/
private void clearInput() {
input_ = 0;
}
public static final int LABEL_FIELD_NUMBER = 5;
private java.lang.String label_;
/**
* string label = 5 [json_name = "label"];
* @return The label.
*/
@java.lang.Override
public java.lang.String getLabel() {
return label_;
}
/**
* string label = 5 [json_name = "label"];
* @return The bytes for label.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLabelBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(label_);
}
/**
* string label = 5 [json_name = "label"];
* @param value The label to set.
*/
private void setLabel(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
label_ = value;
}
/**
* string label = 5 [json_name = "label"];
*/
private void clearLabel() {
label_ = getDefaultInstance().getLabel();
}
/**
* string label = 5 [json_name = "label"];
* @param value The bytes for label to set.
*/
private void setLabelBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
label_ = value.toStringUtf8();
}
public static final int PREFERRED_OPTIONS_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.ProtobufList preferredOptions_;
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @return A list containing the preferredOptions.
*/
@java.lang.Override
public java.util.List getPreferredOptionsList() {
return preferredOptions_;
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @return The count of preferredOptions.
*/
@java.lang.Override
public int getPreferredOptionsCount() {
return preferredOptions_.size();
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param index The index of the element to return.
* @return The preferredOptions at the given index.
*/
@java.lang.Override
public java.lang.String getPreferredOptions(int index) {
return preferredOptions_.get(index);
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param index The index of the value to return.
* @return The bytes of the preferredOptions at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPreferredOptionsBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
preferredOptions_.get(index));
}
private void ensurePreferredOptionsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
preferredOptions_; if (!tmp.isModifiable()) {
preferredOptions_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param index The index to set the value at.
* @param value The preferredOptions to set.
*/
private void setPreferredOptions(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensurePreferredOptionsIsMutable();
preferredOptions_.set(index, value);
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param value The preferredOptions to add.
*/
private void addPreferredOptions(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensurePreferredOptionsIsMutable();
preferredOptions_.add(value);
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param values The preferredOptions to add.
*/
private void addAllPreferredOptions(
java.lang.Iterable values) {
ensurePreferredOptionsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, preferredOptions_);
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
*/
private void clearPreferredOptions() {
preferredOptions_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param value The bytes of the preferredOptions to add.
*/
private void addPreferredOptionsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensurePreferredOptionsIsMutable();
preferredOptions_.add(value.toStringUtf8());
}
public static final int COMPARE_FIELD_NUMBER = 7;
private com.google.protobuf.Internal.ProtobufList compare_;
/**
* repeated string compare = 7 [json_name = "compare"];
* @return A list containing the compare.
*/
@java.lang.Override
public java.util.List getCompareList() {
return compare_;
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @return The count of compare.
*/
@java.lang.Override
public int getCompareCount() {
return compare_.size();
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @param index The index of the element to return.
* @return The compare at the given index.
*/
@java.lang.Override
public java.lang.String getCompare(int index) {
return compare_.get(index);
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @param index The index of the value to return.
* @return The bytes of the compare at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCompareBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
compare_.get(index));
}
private void ensureCompareIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
compare_; if (!tmp.isModifiable()) {
compare_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @param index The index to set the value at.
* @param value The compare to set.
*/
private void setCompare(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureCompareIsMutable();
compare_.set(index, value);
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @param value The compare to add.
*/
private void addCompare(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureCompareIsMutable();
compare_.add(value);
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @param values The compare to add.
*/
private void addAllCompare(
java.lang.Iterable values) {
ensureCompareIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, compare_);
}
/**
* repeated string compare = 7 [json_name = "compare"];
*/
private void clearCompare() {
compare_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @param value The bytes of the compare to add.
*/
private void addCompareBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureCompareIsMutable();
compare_.add(value.toStringUtf8());
}
public static final int TARGET_SOURCE_FIELD_NUMBER = 8;
private java.lang.String targetSource_;
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @return Whether the targetSource field is set.
*/
@java.lang.Override
public boolean hasTargetSource() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @return The targetSource.
*/
@java.lang.Override
public java.lang.String getTargetSource() {
return targetSource_;
}
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @return The bytes for targetSource.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTargetSourceBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(targetSource_);
}
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @param value The targetSource to set.
*/
private void setTargetSource(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
targetSource_ = value;
}
/**
* optional string target_source = 8 [json_name = "targetSource"];
*/
private void clearTargetSource() {
bitField0_ = (bitField0_ & ~0x00000001);
targetSource_ = getDefaultInstance().getTargetSource();
}
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @param value The bytes for targetSource to set.
*/
private void setTargetSourceBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
targetSource_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioEvent 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.triggers.GetMetadataResponse.StudioEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioEvent 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.triggers.GetMetadataResponse.StudioEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioEvent 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.triggers.GetMetadataResponse.StudioEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioEvent 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.triggers.GetMetadataResponse.StudioEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioEvent 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.triggers.GetMetadataResponse.StudioEvent prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.triggers.GetMetadataResponse.StudioEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.triggers.GetMetadataResponse.StudioEvent, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.triggers.GetMetadataResponse.StudioEvent)
com.streamlayer.triggers.GetMetadataResponse.StudioEventOrBuilder {
// Construct using com.streamlayer.triggers.GetMetadataResponse.StudioEvent.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* string id = 1 [json_name = "id"];
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* string id = 1 [json_name = "id"];
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* string id = 1 [json_name = "id"];
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* string sport = 2 [json_name = "sport"];
* @return The sport.
*/
@java.lang.Override
public java.lang.String getSport() {
return instance.getSport();
}
/**
* string sport = 2 [json_name = "sport"];
* @return The bytes for sport.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSportBytes() {
return instance.getSportBytes();
}
/**
* string sport = 2 [json_name = "sport"];
* @param value The sport to set.
* @return This builder for chaining.
*/
public Builder setSport(
java.lang.String value) {
copyOnWrite();
instance.setSport(value);
return this;
}
/**
* string sport = 2 [json_name = "sport"];
* @return This builder for chaining.
*/
public Builder clearSport() {
copyOnWrite();
instance.clearSport();
return this;
}
/**
* string sport = 2 [json_name = "sport"];
* @param value The bytes for sport to set.
* @return This builder for chaining.
*/
public Builder setSportBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSportBytes(value);
return this;
}
/**
* bool primary = 3 [json_name = "primary"];
* @return The primary.
*/
@java.lang.Override
public boolean getPrimary() {
return instance.getPrimary();
}
/**
* bool primary = 3 [json_name = "primary"];
* @param value The primary to set.
* @return This builder for chaining.
*/
public Builder setPrimary(boolean value) {
copyOnWrite();
instance.setPrimary(value);
return this;
}
/**
* bool primary = 3 [json_name = "primary"];
* @return This builder for chaining.
*/
public Builder clearPrimary() {
copyOnWrite();
instance.clearPrimary();
return this;
}
/**
* .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
* @return The enum numeric value on the wire for input.
*/
@java.lang.Override
public int getInputValue() {
return instance.getInputValue();
}
/**
* .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
* @param value The input to set.
* @return This builder for chaining.
*/
public Builder setInputValue(int value) {
copyOnWrite();
instance.setInputValue(value);
return this;
}
/**
* .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
* @return The input.
*/
@java.lang.Override
public com.streamlayer.triggers.StudioInput getInput() {
return instance.getInput();
}
/**
* .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
* @param value The enum numeric value on the wire for input to set.
* @return This builder for chaining.
*/
public Builder setInput(com.streamlayer.triggers.StudioInput value) {
copyOnWrite();
instance.setInput(value);
return this;
}
/**
* .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
* @return This builder for chaining.
*/
public Builder clearInput() {
copyOnWrite();
instance.clearInput();
return this;
}
/**
* string label = 5 [json_name = "label"];
* @return The label.
*/
@java.lang.Override
public java.lang.String getLabel() {
return instance.getLabel();
}
/**
* string label = 5 [json_name = "label"];
* @return The bytes for label.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLabelBytes() {
return instance.getLabelBytes();
}
/**
* string label = 5 [json_name = "label"];
* @param value The label to set.
* @return This builder for chaining.
*/
public Builder setLabel(
java.lang.String value) {
copyOnWrite();
instance.setLabel(value);
return this;
}
/**
* string label = 5 [json_name = "label"];
* @return This builder for chaining.
*/
public Builder clearLabel() {
copyOnWrite();
instance.clearLabel();
return this;
}
/**
* string label = 5 [json_name = "label"];
* @param value The bytes for label to set.
* @return This builder for chaining.
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLabelBytes(value);
return this;
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @return A list containing the preferredOptions.
*/
@java.lang.Override
public java.util.List
getPreferredOptionsList() {
return java.util.Collections.unmodifiableList(
instance.getPreferredOptionsList());
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @return The count of preferredOptions.
*/
@java.lang.Override
public int getPreferredOptionsCount() {
return instance.getPreferredOptionsCount();
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param index The index of the element to return.
* @return The preferredOptions at the given index.
*/
@java.lang.Override
public java.lang.String getPreferredOptions(int index) {
return instance.getPreferredOptions(index);
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param index The index of the value to return.
* @return The bytes of the preferredOptions at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPreferredOptionsBytes(int index) {
return instance.getPreferredOptionsBytes(index);
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param index The index to set the value at.
* @param value The preferredOptions to set.
* @return This builder for chaining.
*/
public Builder setPreferredOptions(
int index, java.lang.String value) {
copyOnWrite();
instance.setPreferredOptions(index, value);
return this;
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param value The preferredOptions to add.
* @return This builder for chaining.
*/
public Builder addPreferredOptions(
java.lang.String value) {
copyOnWrite();
instance.addPreferredOptions(value);
return this;
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param values The preferredOptions to add.
* @return This builder for chaining.
*/
public Builder addAllPreferredOptions(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllPreferredOptions(values);
return this;
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @return This builder for chaining.
*/
public Builder clearPreferredOptions() {
copyOnWrite();
instance.clearPreferredOptions();
return this;
}
/**
* repeated string preferred_options = 6 [json_name = "preferredOptions"];
* @param value The bytes of the preferredOptions to add.
* @return This builder for chaining.
*/
public Builder addPreferredOptionsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addPreferredOptionsBytes(value);
return this;
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @return A list containing the compare.
*/
@java.lang.Override
public java.util.List
getCompareList() {
return java.util.Collections.unmodifiableList(
instance.getCompareList());
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @return The count of compare.
*/
@java.lang.Override
public int getCompareCount() {
return instance.getCompareCount();
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @param index The index of the element to return.
* @return The compare at the given index.
*/
@java.lang.Override
public java.lang.String getCompare(int index) {
return instance.getCompare(index);
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @param index The index of the value to return.
* @return The bytes of the compare at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCompareBytes(int index) {
return instance.getCompareBytes(index);
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @param index The index to set the value at.
* @param value The compare to set.
* @return This builder for chaining.
*/
public Builder setCompare(
int index, java.lang.String value) {
copyOnWrite();
instance.setCompare(index, value);
return this;
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @param value The compare to add.
* @return This builder for chaining.
*/
public Builder addCompare(
java.lang.String value) {
copyOnWrite();
instance.addCompare(value);
return this;
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @param values The compare to add.
* @return This builder for chaining.
*/
public Builder addAllCompare(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllCompare(values);
return this;
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @return This builder for chaining.
*/
public Builder clearCompare() {
copyOnWrite();
instance.clearCompare();
return this;
}
/**
* repeated string compare = 7 [json_name = "compare"];
* @param value The bytes of the compare to add.
* @return This builder for chaining.
*/
public Builder addCompareBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addCompareBytes(value);
return this;
}
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @return Whether the targetSource field is set.
*/
@java.lang.Override
public boolean hasTargetSource() {
return instance.hasTargetSource();
}
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @return The targetSource.
*/
@java.lang.Override
public java.lang.String getTargetSource() {
return instance.getTargetSource();
}
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @return The bytes for targetSource.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTargetSourceBytes() {
return instance.getTargetSourceBytes();
}
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @param value The targetSource to set.
* @return This builder for chaining.
*/
public Builder setTargetSource(
java.lang.String value) {
copyOnWrite();
instance.setTargetSource(value);
return this;
}
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @return This builder for chaining.
*/
public Builder clearTargetSource() {
copyOnWrite();
instance.clearTargetSource();
return this;
}
/**
* optional string target_source = 8 [json_name = "targetSource"];
* @param value The bytes for targetSource to set.
* @return This builder for chaining.
*/
public Builder setTargetSourceBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTargetSourceBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.triggers.GetMetadataResponse.StudioEvent)
}
@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.triggers.GetMetadataResponse.StudioEvent();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"sport_",
"primary_",
"input_",
"label_",
"preferredOptions_",
"compare_",
"targetSource_",
};
java.lang.String info =
"\u0000\b\u0000\u0001\u0001\b\b\u0000\u0002\u0000\u0001\u0208\u0002\u0208\u0003\u0007" +
"\u0004\f\u0005\u0208\u0006\u021a\u0007\u021a\b\u1208\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.triggers.GetMetadataResponse.StudioEvent.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.triggers.GetMetadataResponse.StudioEvent)
private static final com.streamlayer.triggers.GetMetadataResponse.StudioEvent DEFAULT_INSTANCE;
static {
StudioEvent defaultInstance = new StudioEvent();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
StudioEvent.class, defaultInstance);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface TargetListOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.triggers.GetMetadataResponse.TargetList)
com.google.protobuf.MessageLiteOrBuilder {
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
java.util.List
getTargetsList();
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
com.streamlayer.triggers.StudioTarget getTargets(int index);
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
int getTargetsCount();
}
/**
* Protobuf type {@code streamlayer.triggers.GetMetadataResponse.TargetList}
*/
public static final class TargetList extends
com.google.protobuf.GeneratedMessageLite<
TargetList, TargetList.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.triggers.GetMetadataResponse.TargetList)
TargetListOrBuilder {
private TargetList() {
targets_ = emptyProtobufList();
}
public static final int TARGETS_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList targets_;
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
@java.lang.Override
public java.util.List getTargetsList() {
return targets_;
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
public java.util.List extends com.streamlayer.triggers.StudioTargetOrBuilder>
getTargetsOrBuilderList() {
return targets_;
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
@java.lang.Override
public int getTargetsCount() {
return targets_.size();
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
@java.lang.Override
public com.streamlayer.triggers.StudioTarget getTargets(int index) {
return targets_.get(index);
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
public com.streamlayer.triggers.StudioTargetOrBuilder getTargetsOrBuilder(
int index) {
return targets_.get(index);
}
private void ensureTargetsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = targets_;
if (!tmp.isModifiable()) {
targets_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
private void setTargets(
int index, com.streamlayer.triggers.StudioTarget value) {
value.getClass();
ensureTargetsIsMutable();
targets_.set(index, value);
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
private void addTargets(com.streamlayer.triggers.StudioTarget value) {
value.getClass();
ensureTargetsIsMutable();
targets_.add(value);
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
private void addTargets(
int index, com.streamlayer.triggers.StudioTarget value) {
value.getClass();
ensureTargetsIsMutable();
targets_.add(index, value);
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
private void addAllTargets(
java.lang.Iterable extends com.streamlayer.triggers.StudioTarget> values) {
ensureTargetsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, targets_);
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
private void clearTargets() {
targets_ = emptyProtobufList();
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
private void removeTargets(int index) {
ensureTargetsIsMutable();
targets_.remove(index);
}
public static com.streamlayer.triggers.GetMetadataResponse.TargetList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse.TargetList 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.triggers.GetMetadataResponse.TargetList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse.TargetList 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.triggers.GetMetadataResponse.TargetList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse.TargetList 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.triggers.GetMetadataResponse.TargetList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse.TargetList 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.triggers.GetMetadataResponse.TargetList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse.TargetList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.triggers.GetMetadataResponse.TargetList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse.TargetList 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.triggers.GetMetadataResponse.TargetList prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.triggers.GetMetadataResponse.TargetList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.triggers.GetMetadataResponse.TargetList, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.triggers.GetMetadataResponse.TargetList)
com.streamlayer.triggers.GetMetadataResponse.TargetListOrBuilder {
// Construct using com.streamlayer.triggers.GetMetadataResponse.TargetList.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
@java.lang.Override
public java.util.List getTargetsList() {
return java.util.Collections.unmodifiableList(
instance.getTargetsList());
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
@java.lang.Override
public int getTargetsCount() {
return instance.getTargetsCount();
}/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
@java.lang.Override
public com.streamlayer.triggers.StudioTarget getTargets(int index) {
return instance.getTargets(index);
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
public Builder setTargets(
int index, com.streamlayer.triggers.StudioTarget value) {
copyOnWrite();
instance.setTargets(index, value);
return this;
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
public Builder setTargets(
int index, com.streamlayer.triggers.StudioTarget.Builder builderForValue) {
copyOnWrite();
instance.setTargets(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
public Builder addTargets(com.streamlayer.triggers.StudioTarget value) {
copyOnWrite();
instance.addTargets(value);
return this;
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
public Builder addTargets(
int index, com.streamlayer.triggers.StudioTarget value) {
copyOnWrite();
instance.addTargets(index, value);
return this;
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
public Builder addTargets(
com.streamlayer.triggers.StudioTarget.Builder builderForValue) {
copyOnWrite();
instance.addTargets(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
public Builder addTargets(
int index, com.streamlayer.triggers.StudioTarget.Builder builderForValue) {
copyOnWrite();
instance.addTargets(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
public Builder addAllTargets(
java.lang.Iterable extends com.streamlayer.triggers.StudioTarget> values) {
copyOnWrite();
instance.addAllTargets(values);
return this;
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
public Builder clearTargets() {
copyOnWrite();
instance.clearTargets();
return this;
}
/**
* repeated .streamlayer.triggers.StudioTarget targets = 1 [json_name = "targets"];
*/
public Builder removeTargets(int index) {
copyOnWrite();
instance.removeTargets(index);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.triggers.GetMetadataResponse.TargetList)
}
@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.triggers.GetMetadataResponse.TargetList();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"targets_",
com.streamlayer.triggers.StudioTarget.class,
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\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.triggers.GetMetadataResponse.TargetList.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.triggers.GetMetadataResponse.TargetList)
private static final com.streamlayer.triggers.GetMetadataResponse.TargetList DEFAULT_INSTANCE;
static {
TargetList defaultInstance = new TargetList();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TargetList.class, defaultInstance);
}
public static com.streamlayer.triggers.GetMetadataResponse.TargetList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface GameOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.triggers.GetMetadataResponse.Game)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string id = 1 [json_name = "id"];
* @return The id.
*/
java.lang.String getId();
/**
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* string sport = 2 [json_name = "sport"];
* @return The sport.
*/
java.lang.String getSport();
/**
* string sport = 2 [json_name = "sport"];
* @return The bytes for sport.
*/
com.google.protobuf.ByteString
getSportBytes();
/**
* string datasource = 3 [json_name = "datasource"];
* @return The datasource.
*/
java.lang.String getDatasource();
/**
* string datasource = 3 [json_name = "datasource"];
* @return The bytes for datasource.
*/
com.google.protobuf.ByteString
getDatasourceBytes();
/**
* string scope = 4 [json_name = "scope"];
* @return The scope.
*/
java.lang.String getScope();
/**
* string scope = 4 [json_name = "scope"];
* @return The bytes for scope.
*/
com.google.protobuf.ByteString
getScopeBytes();
}
/**
* Protobuf type {@code streamlayer.triggers.GetMetadataResponse.Game}
*/
public static final class Game extends
com.google.protobuf.GeneratedMessageLite<
Game, Game.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.triggers.GetMetadataResponse.Game)
GameOrBuilder {
private Game() {
id_ = "";
sport_ = "";
datasource_ = "";
scope_ = "";
}
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* string id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* string id = 1 [json_name = "id"];
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
id_ = value;
}
/**
* string id = 1 [json_name = "id"];
*/
private void clearId() {
id_ = getDefaultInstance().getId();
}
/**
* string id = 1 [json_name = "id"];
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
id_ = value.toStringUtf8();
}
public static final int SPORT_FIELD_NUMBER = 2;
private java.lang.String sport_;
/**
* string sport = 2 [json_name = "sport"];
* @return The sport.
*/
@java.lang.Override
public java.lang.String getSport() {
return sport_;
}
/**
* string sport = 2 [json_name = "sport"];
* @return The bytes for sport.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSportBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(sport_);
}
/**
* string sport = 2 [json_name = "sport"];
* @param value The sport to set.
*/
private void setSport(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
sport_ = value;
}
/**
* string sport = 2 [json_name = "sport"];
*/
private void clearSport() {
sport_ = getDefaultInstance().getSport();
}
/**
* string sport = 2 [json_name = "sport"];
* @param value The bytes for sport to set.
*/
private void setSportBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
sport_ = value.toStringUtf8();
}
public static final int DATASOURCE_FIELD_NUMBER = 3;
private java.lang.String datasource_;
/**
* string datasource = 3 [json_name = "datasource"];
* @return The datasource.
*/
@java.lang.Override
public java.lang.String getDatasource() {
return datasource_;
}
/**
* string datasource = 3 [json_name = "datasource"];
* @return The bytes for datasource.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDatasourceBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(datasource_);
}
/**
* string datasource = 3 [json_name = "datasource"];
* @param value The datasource to set.
*/
private void setDatasource(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
datasource_ = value;
}
/**
* string datasource = 3 [json_name = "datasource"];
*/
private void clearDatasource() {
datasource_ = getDefaultInstance().getDatasource();
}
/**
* string datasource = 3 [json_name = "datasource"];
* @param value The bytes for datasource to set.
*/
private void setDatasourceBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
datasource_ = value.toStringUtf8();
}
public static final int SCOPE_FIELD_NUMBER = 4;
private java.lang.String scope_;
/**
* string scope = 4 [json_name = "scope"];
* @return The scope.
*/
@java.lang.Override
public java.lang.String getScope() {
return scope_;
}
/**
* string scope = 4 [json_name = "scope"];
* @return The bytes for scope.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getScopeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(scope_);
}
/**
* string scope = 4 [json_name = "scope"];
* @param value The scope to set.
*/
private void setScope(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
scope_ = value;
}
/**
* string scope = 4 [json_name = "scope"];
*/
private void clearScope() {
scope_ = getDefaultInstance().getScope();
}
/**
* string scope = 4 [json_name = "scope"];
* @param value The bytes for scope to set.
*/
private void setScopeBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
scope_ = value.toStringUtf8();
}
public static com.streamlayer.triggers.GetMetadataResponse.Game parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse.Game 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.triggers.GetMetadataResponse.Game parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse.Game 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.triggers.GetMetadataResponse.Game parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse.Game 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.triggers.GetMetadataResponse.Game parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse.Game 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.triggers.GetMetadataResponse.Game parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse.Game parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.triggers.GetMetadataResponse.Game parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse.Game 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.triggers.GetMetadataResponse.Game prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.triggers.GetMetadataResponse.Game}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.triggers.GetMetadataResponse.Game, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.triggers.GetMetadataResponse.Game)
com.streamlayer.triggers.GetMetadataResponse.GameOrBuilder {
// Construct using com.streamlayer.triggers.GetMetadataResponse.Game.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string id = 1 [json_name = "id"];
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* string id = 1 [json_name = "id"];
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* string id = 1 [json_name = "id"];
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* string id = 1 [json_name = "id"];
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* string sport = 2 [json_name = "sport"];
* @return The sport.
*/
@java.lang.Override
public java.lang.String getSport() {
return instance.getSport();
}
/**
* string sport = 2 [json_name = "sport"];
* @return The bytes for sport.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSportBytes() {
return instance.getSportBytes();
}
/**
* string sport = 2 [json_name = "sport"];
* @param value The sport to set.
* @return This builder for chaining.
*/
public Builder setSport(
java.lang.String value) {
copyOnWrite();
instance.setSport(value);
return this;
}
/**
* string sport = 2 [json_name = "sport"];
* @return This builder for chaining.
*/
public Builder clearSport() {
copyOnWrite();
instance.clearSport();
return this;
}
/**
* string sport = 2 [json_name = "sport"];
* @param value The bytes for sport to set.
* @return This builder for chaining.
*/
public Builder setSportBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSportBytes(value);
return this;
}
/**
* string datasource = 3 [json_name = "datasource"];
* @return The datasource.
*/
@java.lang.Override
public java.lang.String getDatasource() {
return instance.getDatasource();
}
/**
* string datasource = 3 [json_name = "datasource"];
* @return The bytes for datasource.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDatasourceBytes() {
return instance.getDatasourceBytes();
}
/**
* string datasource = 3 [json_name = "datasource"];
* @param value The datasource to set.
* @return This builder for chaining.
*/
public Builder setDatasource(
java.lang.String value) {
copyOnWrite();
instance.setDatasource(value);
return this;
}
/**
* string datasource = 3 [json_name = "datasource"];
* @return This builder for chaining.
*/
public Builder clearDatasource() {
copyOnWrite();
instance.clearDatasource();
return this;
}
/**
* string datasource = 3 [json_name = "datasource"];
* @param value The bytes for datasource to set.
* @return This builder for chaining.
*/
public Builder setDatasourceBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDatasourceBytes(value);
return this;
}
/**
* string scope = 4 [json_name = "scope"];
* @return The scope.
*/
@java.lang.Override
public java.lang.String getScope() {
return instance.getScope();
}
/**
* string scope = 4 [json_name = "scope"];
* @return The bytes for scope.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getScopeBytes() {
return instance.getScopeBytes();
}
/**
* string scope = 4 [json_name = "scope"];
* @param value The scope to set.
* @return This builder for chaining.
*/
public Builder setScope(
java.lang.String value) {
copyOnWrite();
instance.setScope(value);
return this;
}
/**
* string scope = 4 [json_name = "scope"];
* @return This builder for chaining.
*/
public Builder clearScope() {
copyOnWrite();
instance.clearScope();
return this;
}
/**
* string scope = 4 [json_name = "scope"];
* @param value The bytes for scope to set.
* @return This builder for chaining.
*/
public Builder setScopeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setScopeBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.triggers.GetMetadataResponse.Game)
}
@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.triggers.GetMetadataResponse.Game();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"id_",
"sport_",
"datasource_",
"scope_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
"\u0003\u0208\u0004\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.triggers.GetMetadataResponse.Game.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.triggers.GetMetadataResponse.Game)
private static final com.streamlayer.triggers.GetMetadataResponse.Game DEFAULT_INSTANCE;
static {
Game defaultInstance = new Game();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Game.class, defaultInstance);
}
public static com.streamlayer.triggers.GetMetadataResponse.Game getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface StudioConditionDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.triggers.GetMetadataResponse.StudioConditionData)
com.google.protobuf.MessageLiteOrBuilder {
/**
* repeated string index = 1 [json_name = "index"];
* @return A list containing the index.
*/
java.util.List
getIndexList();
/**
* repeated string index = 1 [json_name = "index"];
* @return The count of index.
*/
int getIndexCount();
/**
* repeated string index = 1 [json_name = "index"];
* @param index The index of the element to return.
* @return The index at the given index.
*/
java.lang.String getIndex(int index);
/**
* repeated string index = 1 [json_name = "index"];
* @param index The index of the element to return.
* @return The index at the given index.
*/
com.google.protobuf.ByteString
getIndexBytes(int index);
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
int getEventsCount();
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
boolean containsEvents(
java.lang.String key);
/**
* Use {@link #getEventsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getEvents();
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
java.util.Map
getEventsMap();
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
/* nullable */
com.streamlayer.triggers.GetMetadataResponse.StudioEvent getEventsOrDefault(
java.lang.String key,
/* nullable */
com.streamlayer.triggers.GetMetadataResponse.StudioEvent defaultValue);
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
com.streamlayer.triggers.GetMetadataResponse.StudioEvent getEventsOrThrow(
java.lang.String key);
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
int getSourcesCount();
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
boolean containsSources(
java.lang.String key);
/**
* Use {@link #getSourcesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getSources();
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
java.util.Map
getSourcesMap();
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
/* nullable */
com.streamlayer.triggers.GetMetadataResponse.TargetList getSourcesOrDefault(
java.lang.String key,
/* nullable */
com.streamlayer.triggers.GetMetadataResponse.TargetList defaultValue);
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
com.streamlayer.triggers.GetMetadataResponse.TargetList getSourcesOrThrow(
java.lang.String key);
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
* @return Whether the game field is set.
*/
boolean hasGame();
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
* @return The game.
*/
com.streamlayer.triggers.GetMetadataResponse.Game getGame();
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
java.util.List
getLimitsList();
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
com.streamlayer.triggers.StudioLimit getLimits(int index);
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
int getLimitsCount();
}
/**
* Protobuf type {@code streamlayer.triggers.GetMetadataResponse.StudioConditionData}
*/
public static final class StudioConditionData extends
com.google.protobuf.GeneratedMessageLite<
StudioConditionData, StudioConditionData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.triggers.GetMetadataResponse.StudioConditionData)
StudioConditionDataOrBuilder {
private StudioConditionData() {
index_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
limits_ = emptyProtobufList();
}
private int bitField0_;
public static final int INDEX_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList index_;
/**
* repeated string index = 1 [json_name = "index"];
* @return A list containing the index.
*/
@java.lang.Override
public java.util.List getIndexList() {
return index_;
}
/**
* repeated string index = 1 [json_name = "index"];
* @return The count of index.
*/
@java.lang.Override
public int getIndexCount() {
return index_.size();
}
/**
* repeated string index = 1 [json_name = "index"];
* @param index The index of the element to return.
* @return The index at the given index.
*/
@java.lang.Override
public java.lang.String getIndex(int index) {
return index_.get(index);
}
/**
* repeated string index = 1 [json_name = "index"];
* @param index The index of the value to return.
* @return The bytes of the index at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIndexBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
index_.get(index));
}
private void ensureIndexIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
index_; if (!tmp.isModifiable()) {
index_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string index = 1 [json_name = "index"];
* @param index The index to set the value at.
* @param value The index to set.
*/
private void setIndex(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureIndexIsMutable();
index_.set(index, value);
}
/**
* repeated string index = 1 [json_name = "index"];
* @param value The index to add.
*/
private void addIndex(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureIndexIsMutable();
index_.add(value);
}
/**
* repeated string index = 1 [json_name = "index"];
* @param values The index to add.
*/
private void addAllIndex(
java.lang.Iterable values) {
ensureIndexIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, index_);
}
/**
* repeated string index = 1 [json_name = "index"];
*/
private void clearIndex() {
index_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string index = 1 [json_name = "index"];
* @param value The bytes of the index to add.
*/
private void addIndexBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureIndexIsMutable();
index_.add(value.toStringUtf8());
}
public static final int EVENTS_FIELD_NUMBER = 2;
private static final class EventsDefaultEntryHolder {
static final com.google.protobuf.MapEntryLite<
java.lang.String, com.streamlayer.triggers.GetMetadataResponse.StudioEvent> defaultEntry =
com.google.protobuf.MapEntryLite
.newDefaultInstance(
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
com.streamlayer.triggers.GetMetadataResponse.StudioEvent.getDefaultInstance());
}
private com.google.protobuf.MapFieldLite<
java.lang.String, com.streamlayer.triggers.GetMetadataResponse.StudioEvent> events_ =
com.google.protobuf.MapFieldLite.emptyMapField();
private com.google.protobuf.MapFieldLite
internalGetEvents() {
return events_;
}
private com.google.protobuf.MapFieldLite
internalGetMutableEvents() {
if (!events_.isMutable()) {
events_ = events_.mutableCopy();
}
return events_;
}
@java.lang.Override
public int getEventsCount() {
return internalGetEvents().size();
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
@java.lang.Override
public boolean containsEvents(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
return internalGetEvents().containsKey(key);
}
/**
* Use {@link #getEventsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getEvents() {
return getEventsMap();
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
@java.lang.Override
public java.util.Map getEventsMap() {
return java.util.Collections.unmodifiableMap(
internalGetEvents());
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
@java.lang.Override
public /* nullable */
com.streamlayer.triggers.GetMetadataResponse.StudioEvent getEventsOrDefault(
java.lang.String key,
/* nullable */
com.streamlayer.triggers.GetMetadataResponse.StudioEvent defaultValue) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
internalGetEvents();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
@java.lang.Override
public com.streamlayer.triggers.GetMetadataResponse.StudioEvent getEventsOrThrow(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
internalGetEvents();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
private java.util.Map
getMutableEventsMap() {
return internalGetMutableEvents();
}
public static final int SOURCES_FIELD_NUMBER = 3;
private static final class SourcesDefaultEntryHolder {
static final com.google.protobuf.MapEntryLite<
java.lang.String, com.streamlayer.triggers.GetMetadataResponse.TargetList> defaultEntry =
com.google.protobuf.MapEntryLite
.newDefaultInstance(
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
com.streamlayer.triggers.GetMetadataResponse.TargetList.getDefaultInstance());
}
private com.google.protobuf.MapFieldLite<
java.lang.String, com.streamlayer.triggers.GetMetadataResponse.TargetList> sources_ =
com.google.protobuf.MapFieldLite.emptyMapField();
private com.google.protobuf.MapFieldLite
internalGetSources() {
return sources_;
}
private com.google.protobuf.MapFieldLite
internalGetMutableSources() {
if (!sources_.isMutable()) {
sources_ = sources_.mutableCopy();
}
return sources_;
}
@java.lang.Override
public int getSourcesCount() {
return internalGetSources().size();
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
@java.lang.Override
public boolean containsSources(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
return internalGetSources().containsKey(key);
}
/**
* Use {@link #getSourcesMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getSources() {
return getSourcesMap();
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
@java.lang.Override
public java.util.Map getSourcesMap() {
return java.util.Collections.unmodifiableMap(
internalGetSources());
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
@java.lang.Override
public /* nullable */
com.streamlayer.triggers.GetMetadataResponse.TargetList getSourcesOrDefault(
java.lang.String key,
/* nullable */
com.streamlayer.triggers.GetMetadataResponse.TargetList defaultValue) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
internalGetSources();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
@java.lang.Override
public com.streamlayer.triggers.GetMetadataResponse.TargetList getSourcesOrThrow(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
internalGetSources();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
private java.util.Map
getMutableSourcesMap() {
return internalGetMutableSources();
}
public static final int GAME_FIELD_NUMBER = 4;
private com.streamlayer.triggers.GetMetadataResponse.Game game_;
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
*/
@java.lang.Override
public boolean hasGame() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
*/
@java.lang.Override
public com.streamlayer.triggers.GetMetadataResponse.Game getGame() {
return game_ == null ? com.streamlayer.triggers.GetMetadataResponse.Game.getDefaultInstance() : game_;
}
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
*/
private void setGame(com.streamlayer.triggers.GetMetadataResponse.Game value) {
value.getClass();
game_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeGame(com.streamlayer.triggers.GetMetadataResponse.Game value) {
value.getClass();
if (game_ != null &&
game_ != com.streamlayer.triggers.GetMetadataResponse.Game.getDefaultInstance()) {
game_ =
com.streamlayer.triggers.GetMetadataResponse.Game.newBuilder(game_).mergeFrom(value).buildPartial();
} else {
game_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
*/
private void clearGame() { game_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int LIMITS_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList limits_;
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
@java.lang.Override
public java.util.List getLimitsList() {
return limits_;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
public java.util.List extends com.streamlayer.triggers.StudioLimitOrBuilder>
getLimitsOrBuilderList() {
return limits_;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
@java.lang.Override
public int getLimitsCount() {
return limits_.size();
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
@java.lang.Override
public com.streamlayer.triggers.StudioLimit getLimits(int index) {
return limits_.get(index);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
public com.streamlayer.triggers.StudioLimitOrBuilder getLimitsOrBuilder(
int index) {
return limits_.get(index);
}
private void ensureLimitsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = limits_;
if (!tmp.isModifiable()) {
limits_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
private void setLimits(
int index, com.streamlayer.triggers.StudioLimit value) {
value.getClass();
ensureLimitsIsMutable();
limits_.set(index, value);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
private void addLimits(com.streamlayer.triggers.StudioLimit value) {
value.getClass();
ensureLimitsIsMutable();
limits_.add(value);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
private void addLimits(
int index, com.streamlayer.triggers.StudioLimit value) {
value.getClass();
ensureLimitsIsMutable();
limits_.add(index, value);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
private void addAllLimits(
java.lang.Iterable extends com.streamlayer.triggers.StudioLimit> values) {
ensureLimitsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, limits_);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
private void clearLimits() {
limits_ = emptyProtobufList();
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
private void removeLimits(int index) {
ensureLimitsIsMutable();
limits_.remove(index);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioConditionData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioConditionData 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.triggers.GetMetadataResponse.StudioConditionData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioConditionData 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.triggers.GetMetadataResponse.StudioConditionData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioConditionData 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.triggers.GetMetadataResponse.StudioConditionData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioConditionData 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.triggers.GetMetadataResponse.StudioConditionData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioConditionData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioConditionData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioConditionData 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.triggers.GetMetadataResponse.StudioConditionData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.triggers.GetMetadataResponse.StudioConditionData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.triggers.GetMetadataResponse.StudioConditionData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.triggers.GetMetadataResponse.StudioConditionData)
com.streamlayer.triggers.GetMetadataResponse.StudioConditionDataOrBuilder {
// Construct using com.streamlayer.triggers.GetMetadataResponse.StudioConditionData.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated string index = 1 [json_name = "index"];
* @return A list containing the index.
*/
@java.lang.Override
public java.util.List
getIndexList() {
return java.util.Collections.unmodifiableList(
instance.getIndexList());
}
/**
* repeated string index = 1 [json_name = "index"];
* @return The count of index.
*/
@java.lang.Override
public int getIndexCount() {
return instance.getIndexCount();
}
/**
* repeated string index = 1 [json_name = "index"];
* @param index The index of the element to return.
* @return The index at the given index.
*/
@java.lang.Override
public java.lang.String getIndex(int index) {
return instance.getIndex(index);
}
/**
* repeated string index = 1 [json_name = "index"];
* @param index The index of the value to return.
* @return The bytes of the index at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIndexBytes(int index) {
return instance.getIndexBytes(index);
}
/**
* repeated string index = 1 [json_name = "index"];
* @param index The index to set the value at.
* @param value The index to set.
* @return This builder for chaining.
*/
public Builder setIndex(
int index, java.lang.String value) {
copyOnWrite();
instance.setIndex(index, value);
return this;
}
/**
* repeated string index = 1 [json_name = "index"];
* @param value The index to add.
* @return This builder for chaining.
*/
public Builder addIndex(
java.lang.String value) {
copyOnWrite();
instance.addIndex(value);
return this;
}
/**
* repeated string index = 1 [json_name = "index"];
* @param values The index to add.
* @return This builder for chaining.
*/
public Builder addAllIndex(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllIndex(values);
return this;
}
/**
* repeated string index = 1 [json_name = "index"];
* @return This builder for chaining.
*/
public Builder clearIndex() {
copyOnWrite();
instance.clearIndex();
return this;
}
/**
* repeated string index = 1 [json_name = "index"];
* @param value The bytes of the index to add.
* @return This builder for chaining.
*/
public Builder addIndexBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addIndexBytes(value);
return this;
}
@java.lang.Override
public int getEventsCount() {
return instance.getEventsMap().size();
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
@java.lang.Override
public boolean containsEvents(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
return instance.getEventsMap().containsKey(key);
}
public Builder clearEvents() {
copyOnWrite();
instance.getMutableEventsMap().clear();
return this;
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
public Builder removeEvents(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
copyOnWrite();
instance.getMutableEventsMap().remove(key);
return this;
}
/**
* Use {@link #getEventsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getEvents() {
return getEventsMap();
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
@java.lang.Override
public java.util.Map getEventsMap() {
return java.util.Collections.unmodifiableMap(
instance.getEventsMap());
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
@java.lang.Override
public /* nullable */
com.streamlayer.triggers.GetMetadataResponse.StudioEvent getEventsOrDefault(
java.lang.String key,
/* nullable */
com.streamlayer.triggers.GetMetadataResponse.StudioEvent defaultValue) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
instance.getEventsMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
@java.lang.Override
public com.streamlayer.triggers.GetMetadataResponse.StudioEvent getEventsOrThrow(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
instance.getEventsMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
public Builder putEvents(
java.lang.String key,
com.streamlayer.triggers.GetMetadataResponse.StudioEvent value) {
java.lang.Class> keyClass = key.getClass();
java.lang.Class> valueClass = value.getClass();
copyOnWrite();
instance.getMutableEventsMap().put(key, value);
return this;
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.StudioEvent> events = 2 [json_name = "events"];
*/
public Builder putAllEvents(
java.util.Map values) {
copyOnWrite();
instance.getMutableEventsMap().putAll(values);
return this;
}
@java.lang.Override
public int getSourcesCount() {
return instance.getSourcesMap().size();
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
@java.lang.Override
public boolean containsSources(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
return instance.getSourcesMap().containsKey(key);
}
public Builder clearSources() {
copyOnWrite();
instance.getMutableSourcesMap().clear();
return this;
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
public Builder removeSources(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
copyOnWrite();
instance.getMutableSourcesMap().remove(key);
return this;
}
/**
* Use {@link #getSourcesMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getSources() {
return getSourcesMap();
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
@java.lang.Override
public java.util.Map getSourcesMap() {
return java.util.Collections.unmodifiableMap(
instance.getSourcesMap());
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
@java.lang.Override
public /* nullable */
com.streamlayer.triggers.GetMetadataResponse.TargetList getSourcesOrDefault(
java.lang.String key,
/* nullable */
com.streamlayer.triggers.GetMetadataResponse.TargetList defaultValue) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
instance.getSourcesMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
@java.lang.Override
public com.streamlayer.triggers.GetMetadataResponse.TargetList getSourcesOrThrow(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
instance.getSourcesMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
public Builder putSources(
java.lang.String key,
com.streamlayer.triggers.GetMetadataResponse.TargetList value) {
java.lang.Class> keyClass = key.getClass();
java.lang.Class> valueClass = value.getClass();
copyOnWrite();
instance.getMutableSourcesMap().put(key, value);
return this;
}
/**
* map<string, .streamlayer.triggers.GetMetadataResponse.TargetList> sources = 3 [json_name = "sources"];
*/
public Builder putAllSources(
java.util.Map values) {
copyOnWrite();
instance.getMutableSourcesMap().putAll(values);
return this;
}
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
*/
@java.lang.Override
public boolean hasGame() {
return instance.hasGame();
}
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
*/
@java.lang.Override
public com.streamlayer.triggers.GetMetadataResponse.Game getGame() {
return instance.getGame();
}
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
*/
public Builder setGame(com.streamlayer.triggers.GetMetadataResponse.Game value) {
copyOnWrite();
instance.setGame(value);
return this;
}
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
*/
public Builder setGame(
com.streamlayer.triggers.GetMetadataResponse.Game.Builder builderForValue) {
copyOnWrite();
instance.setGame(builderForValue.build());
return this;
}
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
*/
public Builder mergeGame(com.streamlayer.triggers.GetMetadataResponse.Game value) {
copyOnWrite();
instance.mergeGame(value);
return this;
}
/**
* .streamlayer.triggers.GetMetadataResponse.Game game = 4 [json_name = "game"];
*/
public Builder clearGame() { copyOnWrite();
instance.clearGame();
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
@java.lang.Override
public java.util.List getLimitsList() {
return java.util.Collections.unmodifiableList(
instance.getLimitsList());
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
@java.lang.Override
public int getLimitsCount() {
return instance.getLimitsCount();
}/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
@java.lang.Override
public com.streamlayer.triggers.StudioLimit getLimits(int index) {
return instance.getLimits(index);
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
public Builder setLimits(
int index, com.streamlayer.triggers.StudioLimit value) {
copyOnWrite();
instance.setLimits(index, value);
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
public Builder setLimits(
int index, com.streamlayer.triggers.StudioLimit.Builder builderForValue) {
copyOnWrite();
instance.setLimits(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
public Builder addLimits(com.streamlayer.triggers.StudioLimit value) {
copyOnWrite();
instance.addLimits(value);
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
public Builder addLimits(
int index, com.streamlayer.triggers.StudioLimit value) {
copyOnWrite();
instance.addLimits(index, value);
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
public Builder addLimits(
com.streamlayer.triggers.StudioLimit.Builder builderForValue) {
copyOnWrite();
instance.addLimits(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
public Builder addLimits(
int index, com.streamlayer.triggers.StudioLimit.Builder builderForValue) {
copyOnWrite();
instance.addLimits(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
public Builder addAllLimits(
java.lang.Iterable extends com.streamlayer.triggers.StudioLimit> values) {
copyOnWrite();
instance.addAllLimits(values);
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
public Builder clearLimits() {
copyOnWrite();
instance.clearLimits();
return this;
}
/**
* repeated .streamlayer.triggers.StudioLimit limits = 5 [json_name = "limits"];
*/
public Builder removeLimits(int index) {
copyOnWrite();
instance.removeLimits(index);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.triggers.GetMetadataResponse.StudioConditionData)
}
@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.triggers.GetMetadataResponse.StudioConditionData();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"index_",
"events_",
EventsDefaultEntryHolder.defaultEntry,
"sources_",
SourcesDefaultEntryHolder.defaultEntry,
"game_",
"limits_",
com.streamlayer.triggers.StudioLimit.class,
};
java.lang.String info =
"\u0000\u0005\u0000\u0001\u0001\u0005\u0005\u0002\u0002\u0000\u0001\u021a\u00022\u0003" +
"2\u0004\u1009\u0000\u0005\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.triggers.GetMetadataResponse.StudioConditionData.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.triggers.GetMetadataResponse.StudioConditionData)
private static final com.streamlayer.triggers.GetMetadataResponse.StudioConditionData DEFAULT_INSTANCE;
static {
StudioConditionData defaultInstance = new StudioConditionData();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
StudioConditionData.class, defaultInstance);
}
public static com.streamlayer.triggers.GetMetadataResponse.StudioConditionData 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 DATA_FIELD_NUMBER = 1;
private com.streamlayer.triggers.GetMetadataResponse.StudioConditionData data_;
/**
* .streamlayer.triggers.GetMetadataResponse.StudioConditionData data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean hasData() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.triggers.GetMetadataResponse.StudioConditionData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.triggers.GetMetadataResponse.StudioConditionData getData() {
return data_ == null ? com.streamlayer.triggers.GetMetadataResponse.StudioConditionData.getDefaultInstance() : data_;
}
/**
* .streamlayer.triggers.GetMetadataResponse.StudioConditionData data = 1 [json_name = "data"];
*/
private void setData(com.streamlayer.triggers.GetMetadataResponse.StudioConditionData value) {
value.getClass();
data_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.triggers.GetMetadataResponse.StudioConditionData data = 1 [json_name = "data"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeData(com.streamlayer.triggers.GetMetadataResponse.StudioConditionData value) {
value.getClass();
if (data_ != null &&
data_ != com.streamlayer.triggers.GetMetadataResponse.StudioConditionData.getDefaultInstance()) {
data_ =
com.streamlayer.triggers.GetMetadataResponse.StudioConditionData.newBuilder(data_).mergeFrom(value).buildPartial();
} else {
data_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.triggers.GetMetadataResponse.StudioConditionData data = 1 [json_name = "data"];
*/
private void clearData() { data_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.triggers.GetMetadataResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse 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.triggers.GetMetadataResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse 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.triggers.GetMetadataResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.triggers.GetMetadataResponse 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.triggers.GetMetadataResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse 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.triggers.GetMetadataResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.triggers.GetMetadataResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.triggers.GetMetadataResponse 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.triggers.GetMetadataResponse prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.triggers.GetMetadataResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.triggers.GetMetadataResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.triggers.GetMetadataResponse)
com.streamlayer.triggers.GetMetadataResponseOrBuilder {
// Construct using com.streamlayer.triggers.GetMetadataResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.triggers.GetMetadataResponse.StudioConditionData data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean hasData() {
return instance.hasData();
}
/**
* .streamlayer.triggers.GetMetadataResponse.StudioConditionData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.triggers.GetMetadataResponse.StudioConditionData getData() {
return instance.getData();
}
/**
* .streamlayer.triggers.GetMetadataResponse.StudioConditionData data = 1 [json_name = "data"];
*/
public Builder setData(com.streamlayer.triggers.GetMetadataResponse.StudioConditionData value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* .streamlayer.triggers.GetMetadataResponse.StudioConditionData data = 1 [json_name = "data"];
*/
public Builder setData(
com.streamlayer.triggers.GetMetadataResponse.StudioConditionData.Builder builderForValue) {
copyOnWrite();
instance.setData(builderForValue.build());
return this;
}
/**
* .streamlayer.triggers.GetMetadataResponse.StudioConditionData data = 1 [json_name = "data"];
*/
public Builder mergeData(com.streamlayer.triggers.GetMetadataResponse.StudioConditionData value) {
copyOnWrite();
instance.mergeData(value);
return this;
}
/**
* .streamlayer.triggers.GetMetadataResponse.StudioConditionData data = 1 [json_name = "data"];
*/
public Builder clearData() { copyOnWrite();
instance.clearData();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.triggers.GetMetadataResponse)
}
@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.triggers.GetMetadataResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"data_",
};
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.triggers.GetMetadataResponse.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.triggers.GetMetadataResponse)
private static final com.streamlayer.triggers.GetMetadataResponse DEFAULT_INSTANCE;
static {
GetMetadataResponse defaultInstance = new GetMetadataResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GetMetadataResponse.class, defaultInstance);
}
public static com.streamlayer.triggers.GetMetadataResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}