Class InputAttachment.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InputAttachment.Builder>
com.google.cloud.video.livestream.v1.InputAttachment.Builder
All Implemented Interfaces:
InputAttachmentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InputAttachment

public static final class InputAttachment.Builder extends com.google.protobuf.GeneratedMessage.Builder<InputAttachment.Builder> implements InputAttachmentOrBuilder
 A group of information for attaching an input resource to this channel.
 
Protobuf type google.cloud.video.livestream.v1.InputAttachment
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<InputAttachment.Builder>
    • clear

      public InputAttachment.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<InputAttachment.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<InputAttachment.Builder>
    • getDefaultInstanceForType

      public InputAttachment getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public InputAttachment build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public InputAttachment buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InputAttachment.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InputAttachment.Builder>
    • mergeFrom

      public InputAttachment.Builder mergeFrom(InputAttachment other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InputAttachment.Builder>
    • mergeFrom

      public InputAttachment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InputAttachment.Builder>
      Throws:
      IOException
    • getKey

      public String getKey()
       A unique key for this input attachment. The key must be 1-63
       characters in length. The key must begin and end with a letter (regardless
       of case) or a number, but can contain dashes or underscores in between.
       
      string key = 1;
      Specified by:
      getKey in interface InputAttachmentOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       A unique key for this input attachment. The key must be 1-63
       characters in length. The key must begin and end with a letter (regardless
       of case) or a number, but can contain dashes or underscores in between.
       
      string key = 1;
      Specified by:
      getKeyBytes in interface InputAttachmentOrBuilder
      Returns:
      The bytes for key.
    • setKey

      public InputAttachment.Builder setKey(String value)
       A unique key for this input attachment. The key must be 1-63
       characters in length. The key must begin and end with a letter (regardless
       of case) or a number, but can contain dashes or underscores in between.
       
      string key = 1;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public InputAttachment.Builder clearKey()
       A unique key for this input attachment. The key must be 1-63
       characters in length. The key must begin and end with a letter (regardless
       of case) or a number, but can contain dashes or underscores in between.
       
      string key = 1;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public InputAttachment.Builder setKeyBytes(com.google.protobuf.ByteString value)
       A unique key for this input attachment. The key must be 1-63
       characters in length. The key must begin and end with a letter (regardless
       of case) or a number, but can contain dashes or underscores in between.
       
      string key = 1;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • getInput

      public String getInput()
       The resource name of an existing input, in the form of:
       `projects/{project}/locations/{location}/inputs/{inputId}`.
       
      string input = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getInput in interface InputAttachmentOrBuilder
      Returns:
      The input.
    • getInputBytes

      public com.google.protobuf.ByteString getInputBytes()
       The resource name of an existing input, in the form of:
       `projects/{project}/locations/{location}/inputs/{inputId}`.
       
      string input = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getInputBytes in interface InputAttachmentOrBuilder
      Returns:
      The bytes for input.
    • setInput

      public InputAttachment.Builder setInput(String value)
       The resource name of an existing input, in the form of:
       `projects/{project}/locations/{location}/inputs/{inputId}`.
       
      string input = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The input to set.
      Returns:
      This builder for chaining.
    • clearInput

      public InputAttachment.Builder clearInput()
       The resource name of an existing input, in the form of:
       `projects/{project}/locations/{location}/inputs/{inputId}`.
       
      string input = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setInputBytes

      public InputAttachment.Builder setInputBytes(com.google.protobuf.ByteString value)
       The resource name of an existing input, in the form of:
       `projects/{project}/locations/{location}/inputs/{inputId}`.
       
      string input = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for input to set.
      Returns:
      This builder for chaining.
    • hasAutomaticFailover

      public boolean hasAutomaticFailover()
       Automatic failover configurations.
       
      .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
      Specified by:
      hasAutomaticFailover in interface InputAttachmentOrBuilder
      Returns:
      Whether the automaticFailover field is set.
    • getAutomaticFailover

      public InputAttachment.AutomaticFailover getAutomaticFailover()
       Automatic failover configurations.
       
      .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
      Specified by:
      getAutomaticFailover in interface InputAttachmentOrBuilder
      Returns:
      The automaticFailover.
    • setAutomaticFailover

      public InputAttachment.Builder setAutomaticFailover(InputAttachment.AutomaticFailover value)
       Automatic failover configurations.
       
      .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
    • setAutomaticFailover

      public InputAttachment.Builder setAutomaticFailover(InputAttachment.AutomaticFailover.Builder builderForValue)
       Automatic failover configurations.
       
      .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
    • mergeAutomaticFailover

      public InputAttachment.Builder mergeAutomaticFailover(InputAttachment.AutomaticFailover value)
       Automatic failover configurations.
       
      .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
    • clearAutomaticFailover

      public InputAttachment.Builder clearAutomaticFailover()
       Automatic failover configurations.
       
      .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
    • getAutomaticFailoverBuilder

      public InputAttachment.AutomaticFailover.Builder getAutomaticFailoverBuilder()
       Automatic failover configurations.
       
      .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
    • getAutomaticFailoverOrBuilder

      public InputAttachment.AutomaticFailoverOrBuilder getAutomaticFailoverOrBuilder()
       Automatic failover configurations.
       
      .google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
      Specified by:
      getAutomaticFailoverOrBuilder in interface InputAttachmentOrBuilder