Class 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.GeneratedMessageV3.Builder<EditAtom.Builder>
    implements EditAtomOrBuilder
     Edit atom.
     
    Protobuf type google.cloud.video.transcoder.v1.EditAtom
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public EditAtom.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
      • setField

        public EditAtom.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                         Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
      • clearField

        public EditAtom.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
      • clearOneof

        public EditAtom.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
      • setRepeatedField

        public EditAtom.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 int index,
                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
      • addRepeatedField

        public EditAtom.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EditAtom.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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`s 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`s 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`s 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`s 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`s 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`s 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`s 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`s 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`s 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
      • setUnknownFields

        public final EditAtom.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
      • mergeUnknownFields

        public final EditAtom.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>