Class Clip.ClipManifest.Builder

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

public static final class Clip.ClipManifest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Clip.ClipManifest.Builder> implements Clip.ClipManifestOrBuilder
 ClipManifest identifies a source manifest for the generated clip manifest.
 
Protobuf type google.cloud.video.livestream.v1.Clip.ClipManifest
  • 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<Clip.ClipManifest.Builder>
    • clear

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

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

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

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

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

      public Clip.ClipManifest.Builder mergeFrom(Clip.ClipManifest other)
    • isInitialized

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

      public Clip.ClipManifest.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<Clip.ClipManifest.Builder>
      Throws:
      IOException
    • getManifestKey

      public String getManifestKey()
       Required. A unique key that identifies a manifest config in the parent
       channel. This key is the same as `channel.manifests.key` for the selected
       manifest.
       
      string manifest_key = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getManifestKey in interface Clip.ClipManifestOrBuilder
      Returns:
      The manifestKey.
    • getManifestKeyBytes

      public com.google.protobuf.ByteString getManifestKeyBytes()
       Required. A unique key that identifies a manifest config in the parent
       channel. This key is the same as `channel.manifests.key` for the selected
       manifest.
       
      string manifest_key = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getManifestKeyBytes in interface Clip.ClipManifestOrBuilder
      Returns:
      The bytes for manifestKey.
    • setManifestKey

      public Clip.ClipManifest.Builder setManifestKey(String value)
       Required. A unique key that identifies a manifest config in the parent
       channel. This key is the same as `channel.manifests.key` for the selected
       manifest.
       
      string manifest_key = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The manifestKey to set.
      Returns:
      This builder for chaining.
    • clearManifestKey

      public Clip.ClipManifest.Builder clearManifestKey()
       Required. A unique key that identifies a manifest config in the parent
       channel. This key is the same as `channel.manifests.key` for the selected
       manifest.
       
      string manifest_key = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setManifestKeyBytes

      public Clip.ClipManifest.Builder setManifestKeyBytes(com.google.protobuf.ByteString value)
       Required. A unique key that identifies a manifest config in the parent
       channel. This key is the same as `channel.manifests.key` for the selected
       manifest.
       
      string manifest_key = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for manifestKey to set.
      Returns:
      This builder for chaining.
    • getOutputUri

      public String getOutputUri()
       Output only. The output URI of the generated clip manifest. This field
       will be populated when the CreateClip request is accepted. Current output
       format is provided below but may change in the future. Please read this
       field to get the uri to the generated clip manifest. Format:
       {clip.output_uri}/{channel.manifest.fileName} Example:
       gs://my-bucket/clip-outputs/main.m3u8
       
      string output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOutputUri in interface Clip.ClipManifestOrBuilder
      Returns:
      The outputUri.
    • getOutputUriBytes

      public com.google.protobuf.ByteString getOutputUriBytes()
       Output only. The output URI of the generated clip manifest. This field
       will be populated when the CreateClip request is accepted. Current output
       format is provided below but may change in the future. Please read this
       field to get the uri to the generated clip manifest. Format:
       {clip.output_uri}/{channel.manifest.fileName} Example:
       gs://my-bucket/clip-outputs/main.m3u8
       
      string output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOutputUriBytes in interface Clip.ClipManifestOrBuilder
      Returns:
      The bytes for outputUri.
    • setOutputUri

      public Clip.ClipManifest.Builder setOutputUri(String value)
       Output only. The output URI of the generated clip manifest. This field
       will be populated when the CreateClip request is accepted. Current output
       format is provided below but may change in the future. Please read this
       field to get the uri to the generated clip manifest. Format:
       {clip.output_uri}/{channel.manifest.fileName} Example:
       gs://my-bucket/clip-outputs/main.m3u8
       
      string output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The outputUri to set.
      Returns:
      This builder for chaining.
    • clearOutputUri

      public Clip.ClipManifest.Builder clearOutputUri()
       Output only. The output URI of the generated clip manifest. This field
       will be populated when the CreateClip request is accepted. Current output
       format is provided below but may change in the future. Please read this
       field to get the uri to the generated clip manifest. Format:
       {clip.output_uri}/{channel.manifest.fileName} Example:
       gs://my-bucket/clip-outputs/main.m3u8
       
      string output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setOutputUriBytes

      public Clip.ClipManifest.Builder setOutputUriBytes(com.google.protobuf.ByteString value)
       Output only. The output URI of the generated clip manifest. This field
       will be populated when the CreateClip request is accepted. Current output
       format is provided below but may change in the future. Please read this
       field to get the uri to the generated clip manifest. Format:
       {clip.output_uri}/{channel.manifest.fileName} Example:
       gs://my-bucket/clip-outputs/main.m3u8
       
      string output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for outputUri to set.
      Returns:
      This builder for chaining.