Class GetMetadataResponse.StudioEvent.Builder

    • Method Detail

      • setId

        public GetMetadataResponse.StudioEvent.Builder setId​(java.lang.String value)
        string id = 1 [json_name = "id"];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • setIdBytes

        public GetMetadataResponse.StudioEvent.Builder setIdBytes​(com.google.protobuf.ByteString value)
        string id = 1 [json_name = "id"];
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • setSport

        public GetMetadataResponse.StudioEvent.Builder setSport​(java.lang.String value)
        string sport = 2 [json_name = "sport"];
        Parameters:
        value - The sport to set.
        Returns:
        This builder for chaining.
      • setSportBytes

        public GetMetadataResponse.StudioEvent.Builder setSportBytes​(com.google.protobuf.ByteString value)
        string sport = 2 [json_name = "sport"];
        Parameters:
        value - The bytes for sport to set.
        Returns:
        This builder for chaining.
      • setPrimary

        public GetMetadataResponse.StudioEvent.Builder setPrimary​(boolean value)
        bool primary = 3 [json_name = "primary"];
        Parameters:
        value - The primary to set.
        Returns:
        This builder for chaining.
      • setInputValue

        public GetMetadataResponse.StudioEvent.Builder setInputValue​(int value)
        .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
        Parameters:
        value - The input to set.
        Returns:
        This builder for chaining.
      • setInput

        public GetMetadataResponse.StudioEvent.Builder setInput​(StudioInput value)
        .streamlayer.triggers.StudioInput input = 4 [json_name = "input"];
        Parameters:
        value - The enum numeric value on the wire for input to set.
        Returns:
        This builder for chaining.
      • setLabel

        public GetMetadataResponse.StudioEvent.Builder setLabel​(java.lang.String value)
        string label = 5 [json_name = "label"];
        Parameters:
        value - The label to set.
        Returns:
        This builder for chaining.
      • setLabelBytes

        public GetMetadataResponse.StudioEvent.Builder setLabelBytes​(com.google.protobuf.ByteString value)
        string label = 5 [json_name = "label"];
        Parameters:
        value - The bytes for label to set.
        Returns:
        This builder for chaining.
      • getPreferredOptions

        public java.lang.String getPreferredOptions​(int index)
        repeated string preferred_options = 6 [json_name = "preferredOptions"];
        Specified by:
        getPreferredOptions in interface GetMetadataResponse.StudioEventOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The preferredOptions at the given index.
      • getPreferredOptionsBytes

        public com.google.protobuf.ByteString getPreferredOptionsBytes​(int index)
        repeated string preferred_options = 6 [json_name = "preferredOptions"];
        Specified by:
        getPreferredOptionsBytes in interface GetMetadataResponse.StudioEventOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the preferredOptions at the given index.
      • setPreferredOptions

        public GetMetadataResponse.StudioEvent.Builder setPreferredOptions​(int index,
                                                                           java.lang.String value)
        repeated string preferred_options = 6 [json_name = "preferredOptions"];
        Parameters:
        index - The index to set the value at.
        value - The preferredOptions to set.
        Returns:
        This builder for chaining.
      • addPreferredOptions

        public GetMetadataResponse.StudioEvent.Builder addPreferredOptions​(java.lang.String value)
        repeated string preferred_options = 6 [json_name = "preferredOptions"];
        Parameters:
        value - The preferredOptions to add.
        Returns:
        This builder for chaining.
      • addAllPreferredOptions

        public GetMetadataResponse.StudioEvent.Builder addAllPreferredOptions​(java.lang.Iterable<java.lang.String> values)
        repeated string preferred_options = 6 [json_name = "preferredOptions"];
        Parameters:
        values - The preferredOptions to add.
        Returns:
        This builder for chaining.
      • clearPreferredOptions

        public GetMetadataResponse.StudioEvent.Builder clearPreferredOptions()
        repeated string preferred_options = 6 [json_name = "preferredOptions"];
        Returns:
        This builder for chaining.
      • addPreferredOptionsBytes

        public GetMetadataResponse.StudioEvent.Builder addPreferredOptionsBytes​(com.google.protobuf.ByteString value)
        repeated string preferred_options = 6 [json_name = "preferredOptions"];
        Parameters:
        value - The bytes of the preferredOptions to add.
        Returns:
        This builder for chaining.
      • getCompare

        public java.lang.String getCompare​(int index)
        repeated string compare = 7 [json_name = "compare"];
        Specified by:
        getCompare in interface GetMetadataResponse.StudioEventOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The compare at the given index.
      • getCompareBytes

        public com.google.protobuf.ByteString getCompareBytes​(int index)
        repeated string compare = 7 [json_name = "compare"];
        Specified by:
        getCompareBytes in interface GetMetadataResponse.StudioEventOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the compare at the given index.
      • setCompare

        public GetMetadataResponse.StudioEvent.Builder setCompare​(int index,
                                                                  java.lang.String value)
        repeated string compare = 7 [json_name = "compare"];
        Parameters:
        index - The index to set the value at.
        value - The compare to set.
        Returns:
        This builder for chaining.
      • addCompare

        public GetMetadataResponse.StudioEvent.Builder addCompare​(java.lang.String value)
        repeated string compare = 7 [json_name = "compare"];
        Parameters:
        value - The compare to add.
        Returns:
        This builder for chaining.
      • addAllCompare

        public GetMetadataResponse.StudioEvent.Builder addAllCompare​(java.lang.Iterable<java.lang.String> values)
        repeated string compare = 7 [json_name = "compare"];
        Parameters:
        values - The compare to add.
        Returns:
        This builder for chaining.
      • addCompareBytes

        public GetMetadataResponse.StudioEvent.Builder addCompareBytes​(com.google.protobuf.ByteString value)
        repeated string compare = 7 [json_name = "compare"];
        Parameters:
        value - The bytes of the compare to add.
        Returns:
        This builder for chaining.
      • setTargetSource

        public GetMetadataResponse.StudioEvent.Builder setTargetSource​(java.lang.String value)
        optional string target_source = 8 [json_name = "targetSource"];
        Parameters:
        value - The targetSource to set.
        Returns:
        This builder for chaining.
      • setTargetSourceBytes

        public GetMetadataResponse.StudioEvent.Builder setTargetSourceBytes​(com.google.protobuf.ByteString value)
        optional string target_source = 8 [json_name = "targetSource"];
        Parameters:
        value - The bytes for targetSource to set.
        Returns:
        This builder for chaining.
      • setGroup

        public GetMetadataResponse.StudioEvent.Builder setGroup​(java.lang.String value)
        string group = 9 [json_name = "group"];
        Parameters:
        value - The group to set.
        Returns:
        This builder for chaining.
      • setGroupBytes

        public GetMetadataResponse.StudioEvent.Builder setGroupBytes​(com.google.protobuf.ByteString value)
        string group = 9 [json_name = "group"];
        Parameters:
        value - The bytes for group to set.
        Returns:
        This builder for chaining.