Class Input.Builder

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

public static final class Input.Builder extends com.google.protobuf.GeneratedMessage.Builder<Input.Builder> implements InputOrBuilder
 Input asset.
 
Protobuf type google.cloud.video.transcoder.v1.Input
  • 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<Input.Builder>
    • clear

      public Input.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<Input.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<Input.Builder>
    • getDefaultInstanceForType

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

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

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

      public Input.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<Input.Builder>
    • mergeFrom

      public Input.Builder mergeFrom(Input other)
    • isInitialized

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

      public Input.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<Input.Builder>
      Throws:
      IOException
    • getKey

      public String getKey()
       A unique key for this input. Must be specified when using advanced
       mapping and edit lists.
       
      string key = 1;
      Specified by:
      getKey in interface InputOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       A unique key for this input. Must be specified when using advanced
       mapping and edit lists.
       
      string key = 1;
      Specified by:
      getKeyBytes in interface InputOrBuilder
      Returns:
      The bytes for key.
    • setKey

      public Input.Builder setKey(String value)
       A unique key for this input. Must be specified when using advanced
       mapping and edit lists.
       
      string key = 1;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public Input.Builder clearKey()
       A unique key for this input. Must be specified when using advanced
       mapping and edit lists.
       
      string key = 1;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public Input.Builder setKeyBytes(com.google.protobuf.ByteString value)
       A unique key for this input. Must be specified when using advanced
       mapping and edit lists.
       
      string key = 1;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • getUri

      public String getUri()
       URI of the media. Input files must be at least 5 seconds in duration and
       stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
       If empty, the value is populated from
       [Job.input_uri][google.cloud.video.transcoder.v1.Job.input_uri]. See
       [Supported input and output
       formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
       
      string uri = 2;
      Specified by:
      getUri in interface InputOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       URI of the media. Input files must be at least 5 seconds in duration and
       stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
       If empty, the value is populated from
       [Job.input_uri][google.cloud.video.transcoder.v1.Job.input_uri]. See
       [Supported input and output
       formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
       
      string uri = 2;
      Specified by:
      getUriBytes in interface InputOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public Input.Builder setUri(String value)
       URI of the media. Input files must be at least 5 seconds in duration and
       stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
       If empty, the value is populated from
       [Job.input_uri][google.cloud.video.transcoder.v1.Job.input_uri]. See
       [Supported input and output
       formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
       
      string uri = 2;
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public Input.Builder clearUri()
       URI of the media. Input files must be at least 5 seconds in duration and
       stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
       If empty, the value is populated from
       [Job.input_uri][google.cloud.video.transcoder.v1.Job.input_uri]. See
       [Supported input and output
       formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
       
      string uri = 2;
      Returns:
      This builder for chaining.
    • setUriBytes

      public Input.Builder setUriBytes(com.google.protobuf.ByteString value)
       URI of the media. Input files must be at least 5 seconds in duration and
       stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
       If empty, the value is populated from
       [Job.input_uri][google.cloud.video.transcoder.v1.Job.input_uri]. See
       [Supported input and output
       formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
       
      string uri = 2;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • hasPreprocessingConfig

      public boolean hasPreprocessingConfig()
       Preprocessing configurations.
       
      .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
      Specified by:
      hasPreprocessingConfig in interface InputOrBuilder
      Returns:
      Whether the preprocessingConfig field is set.
    • getPreprocessingConfig

      public PreprocessingConfig getPreprocessingConfig()
       Preprocessing configurations.
       
      .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
      Specified by:
      getPreprocessingConfig in interface InputOrBuilder
      Returns:
      The preprocessingConfig.
    • setPreprocessingConfig

      public Input.Builder setPreprocessingConfig(PreprocessingConfig value)
       Preprocessing configurations.
       
      .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
    • setPreprocessingConfig

      public Input.Builder setPreprocessingConfig(PreprocessingConfig.Builder builderForValue)
       Preprocessing configurations.
       
      .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
    • mergePreprocessingConfig

      public Input.Builder mergePreprocessingConfig(PreprocessingConfig value)
       Preprocessing configurations.
       
      .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
    • clearPreprocessingConfig

      public Input.Builder clearPreprocessingConfig()
       Preprocessing configurations.
       
      .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
    • getPreprocessingConfigBuilder

      public PreprocessingConfig.Builder getPreprocessingConfigBuilder()
       Preprocessing configurations.
       
      .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
    • getPreprocessingConfigOrBuilder

      public PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder()
       Preprocessing configurations.
       
      .google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
      Specified by:
      getPreprocessingConfigOrBuilder in interface InputOrBuilder
    • hasAttributes

      public boolean hasAttributes()
       Optional. Input Attributes.
       
      .google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAttributes in interface InputOrBuilder
      Returns:
      Whether the attributes field is set.
    • getAttributes

      public InputAttributes getAttributes()
       Optional. Input Attributes.
       
      .google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttributes in interface InputOrBuilder
      Returns:
      The attributes.
    • setAttributes

      public Input.Builder setAttributes(InputAttributes value)
       Optional. Input Attributes.
       
      .google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setAttributes

      public Input.Builder setAttributes(InputAttributes.Builder builderForValue)
       Optional. Input Attributes.
       
      .google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeAttributes

      public Input.Builder mergeAttributes(InputAttributes value)
       Optional. Input Attributes.
       
      .google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearAttributes

      public Input.Builder clearAttributes()
       Optional. Input Attributes.
       
      .google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getAttributesBuilder

      public InputAttributes.Builder getAttributesBuilder()
       Optional. Input Attributes.
       
      .google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getAttributesOrBuilder

      public InputAttributesOrBuilder getAttributesOrBuilder()
       Optional. Input Attributes.
       
      .google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttributesOrBuilder in interface InputOrBuilder