Class EditAtom.Builder

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

public static final class EditAtom.Builder extends com.google.protobuf.GeneratedMessage.Builder<EditAtom.Builder> implements EditAtomOrBuilder
 Edit atom.
 
Protobuf type google.cloud.video.transcoder.v1.EditAtom
  • Method Summary

    Modifier and Type
    Method
    Description
    List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values identifying files that should be used in this atom.
    List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values identifying files that should be used in this atom.
    addInputsBytes(com.google.protobuf.ByteString value)
    List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values identifying files that should be used in this atom.
     
     
     
    End time in seconds for the atom, relative to the input file timeline.
    List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values identifying files that should be used in this atom.
    A unique key for this atom.
    Start time in seconds for the atom, relative to the input file timeline.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Duration
    End time in seconds for the atom, relative to the input file timeline.
    com.google.protobuf.Duration.Builder
    End time in seconds for the atom, relative to the input file timeline.
    com.google.protobuf.DurationOrBuilder
    End time in seconds for the atom, relative to the input file timeline.
    getInputs(int index)
    List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values identifying files that should be used in this atom.
    com.google.protobuf.ByteString
    getInputsBytes(int index)
    List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values identifying files that should be used in this atom.
    int
    List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values identifying files that should be used in this atom.
    com.google.protobuf.ProtocolStringList
    List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values identifying files that should be used in this atom.
    A unique key for this atom.
    com.google.protobuf.ByteString
    A unique key for this atom.
    com.google.protobuf.Duration
    Start time in seconds for the atom, relative to the input file timeline.
    com.google.protobuf.Duration.Builder
    Start time in seconds for the atom, relative to the input file timeline.
    com.google.protobuf.DurationOrBuilder
    Start time in seconds for the atom, relative to the input file timeline.
    boolean
    End time in seconds for the atom, relative to the input file timeline.
    boolean
    Start time in seconds for the atom, relative to the input file timeline.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeEndTimeOffset(com.google.protobuf.Duration value)
    End time in seconds for the atom, relative to the input file timeline.
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeStartTimeOffset(com.google.protobuf.Duration value)
    Start time in seconds for the atom, relative to the input file timeline.
    setEndTimeOffset(com.google.protobuf.Duration value)
    End time in seconds for the atom, relative to the input file timeline.
    setEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
    End time in seconds for the atom, relative to the input file timeline.
    setInputs(int index, String value)
    List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values identifying files that should be used in this atom.
    setKey(String value)
    A unique key for this atom.
    setKeyBytes(com.google.protobuf.ByteString value)
    A unique key for this atom.
    setStartTimeOffset(com.google.protobuf.Duration value)
    Start time in seconds for the atom, relative to the input file timeline.
    setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
    Start time in seconds for the atom, relative to the input file timeline.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<EditAtom.Builder>
    • clear

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

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

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

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

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

      public EditAtom.Builder mergeFrom(EditAtom other)
    • isInitialized

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

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

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

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

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

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

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

      public com.google.protobuf.ProtocolStringList getInputsList()
       List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values
       identifying files that should be used in this atom. The listed `inputs`
       must have the same timeline.
       
      repeated string inputs = 2;
      Specified by:
      getInputsList in interface EditAtomOrBuilder
      Returns:
      A list containing the inputs.
    • getInputsCount

      public int getInputsCount()
       List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values
       identifying files that should be used in this atom. The listed `inputs`
       must have the same timeline.
       
      repeated string inputs = 2;
      Specified by:
      getInputsCount in interface EditAtomOrBuilder
      Returns:
      The count of inputs.
    • getInputs

      public String getInputs(int index)
       List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values
       identifying files that should be used in this atom. The listed `inputs`
       must have the same timeline.
       
      repeated string inputs = 2;
      Specified by:
      getInputs in interface EditAtomOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The inputs at the given index.
    • getInputsBytes

      public com.google.protobuf.ByteString getInputsBytes(int index)
       List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values
       identifying files that should be used in this atom. The listed `inputs`
       must have the same timeline.
       
      repeated string inputs = 2;
      Specified by:
      getInputsBytes in interface EditAtomOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the inputs at the given index.
    • setInputs

      public EditAtom.Builder setInputs(int index, String value)
       List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values
       identifying files that should be used in this atom. The listed `inputs`
       must have the same timeline.
       
      repeated string inputs = 2;
      Parameters:
      index - The index to set the value at.
      value - The inputs to set.
      Returns:
      This builder for chaining.
    • addInputs

      public EditAtom.Builder addInputs(String value)
       List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values
       identifying files that should be used in this atom. The listed `inputs`
       must have the same timeline.
       
      repeated string inputs = 2;
      Parameters:
      value - The inputs to add.
      Returns:
      This builder for chaining.
    • addAllInputs

      public EditAtom.Builder addAllInputs(Iterable<String> values)
       List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values
       identifying files that should be used in this atom. The listed `inputs`
       must have the same timeline.
       
      repeated string inputs = 2;
      Parameters:
      values - The inputs to add.
      Returns:
      This builder for chaining.
    • clearInputs

      public EditAtom.Builder clearInputs()
       List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values
       identifying files that should be used in this atom. The listed `inputs`
       must have the same timeline.
       
      repeated string inputs = 2;
      Returns:
      This builder for chaining.
    • addInputsBytes

      public EditAtom.Builder addInputsBytes(com.google.protobuf.ByteString value)
       List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values
       identifying files that should be used in this atom. The listed `inputs`
       must have the same timeline.
       
      repeated string inputs = 2;
      Parameters:
      value - The bytes of the inputs to add.
      Returns:
      This builder for chaining.
    • hasEndTimeOffset

      public boolean hasEndTimeOffset()
       End time in seconds for the atom, relative to the input file timeline.
       When `end_time_offset` is not specified, the `inputs` are used until
       the end of the atom.
       
      .google.protobuf.Duration end_time_offset = 3;
      Specified by:
      hasEndTimeOffset in interface EditAtomOrBuilder
      Returns:
      Whether the endTimeOffset field is set.
    • getEndTimeOffset

      public com.google.protobuf.Duration getEndTimeOffset()
       End time in seconds for the atom, relative to the input file timeline.
       When `end_time_offset` is not specified, the `inputs` are used until
       the end of the atom.
       
      .google.protobuf.Duration end_time_offset = 3;
      Specified by:
      getEndTimeOffset in interface EditAtomOrBuilder
      Returns:
      The endTimeOffset.
    • setEndTimeOffset

      public EditAtom.Builder setEndTimeOffset(com.google.protobuf.Duration value)
       End time in seconds for the atom, relative to the input file timeline.
       When `end_time_offset` is not specified, the `inputs` are used until
       the end of the atom.
       
      .google.protobuf.Duration end_time_offset = 3;
    • setEndTimeOffset

      public EditAtom.Builder setEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
       End time in seconds for the atom, relative to the input file timeline.
       When `end_time_offset` is not specified, the `inputs` are used until
       the end of the atom.
       
      .google.protobuf.Duration end_time_offset = 3;
    • mergeEndTimeOffset

      public EditAtom.Builder mergeEndTimeOffset(com.google.protobuf.Duration value)
       End time in seconds for the atom, relative to the input file timeline.
       When `end_time_offset` is not specified, the `inputs` are used until
       the end of the atom.
       
      .google.protobuf.Duration end_time_offset = 3;
    • clearEndTimeOffset

      public EditAtom.Builder clearEndTimeOffset()
       End time in seconds for the atom, relative to the input file timeline.
       When `end_time_offset` is not specified, the `inputs` are used until
       the end of the atom.
       
      .google.protobuf.Duration end_time_offset = 3;
    • getEndTimeOffsetBuilder

      public com.google.protobuf.Duration.Builder getEndTimeOffsetBuilder()
       End time in seconds for the atom, relative to the input file timeline.
       When `end_time_offset` is not specified, the `inputs` are used until
       the end of the atom.
       
      .google.protobuf.Duration end_time_offset = 3;
    • getEndTimeOffsetOrBuilder

      public com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder()
       End time in seconds for the atom, relative to the input file timeline.
       When `end_time_offset` is not specified, the `inputs` are used until
       the end of the atom.
       
      .google.protobuf.Duration end_time_offset = 3;
      Specified by:
      getEndTimeOffsetOrBuilder in interface EditAtomOrBuilder
    • hasStartTimeOffset

      public boolean hasStartTimeOffset()
       Start time in seconds for the atom, relative to the input file timeline.
       The default is `0s`.
       
      .google.protobuf.Duration start_time_offset = 4;
      Specified by:
      hasStartTimeOffset in interface EditAtomOrBuilder
      Returns:
      Whether the startTimeOffset field is set.
    • getStartTimeOffset

      public com.google.protobuf.Duration getStartTimeOffset()
       Start time in seconds for the atom, relative to the input file timeline.
       The default is `0s`.
       
      .google.protobuf.Duration start_time_offset = 4;
      Specified by:
      getStartTimeOffset in interface EditAtomOrBuilder
      Returns:
      The startTimeOffset.
    • setStartTimeOffset

      public EditAtom.Builder setStartTimeOffset(com.google.protobuf.Duration value)
       Start time in seconds for the atom, relative to the input file timeline.
       The default is `0s`.
       
      .google.protobuf.Duration start_time_offset = 4;
    • setStartTimeOffset

      public EditAtom.Builder setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
       Start time in seconds for the atom, relative to the input file timeline.
       The default is `0s`.
       
      .google.protobuf.Duration start_time_offset = 4;
    • mergeStartTimeOffset

      public EditAtom.Builder mergeStartTimeOffset(com.google.protobuf.Duration value)
       Start time in seconds for the atom, relative to the input file timeline.
       The default is `0s`.
       
      .google.protobuf.Duration start_time_offset = 4;
    • clearStartTimeOffset

      public EditAtom.Builder clearStartTimeOffset()
       Start time in seconds for the atom, relative to the input file timeline.
       The default is `0s`.
       
      .google.protobuf.Duration start_time_offset = 4;
    • getStartTimeOffsetBuilder

      public com.google.protobuf.Duration.Builder getStartTimeOffsetBuilder()
       Start time in seconds for the atom, relative to the input file timeline.
       The default is `0s`.
       
      .google.protobuf.Duration start_time_offset = 4;
    • getStartTimeOffsetOrBuilder

      public com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder()
       Start time in seconds for the atom, relative to the input file timeline.
       The default is `0s`.
       
      .google.protobuf.Duration start_time_offset = 4;
      Specified by:
      getStartTimeOffsetOrBuilder in interface EditAtomOrBuilder