Class EditAtom.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<EditAtom.Builder> implements EditAtomOrBuilder
Edit atom.
Protobuf typegoogle.cloud.video.transcoder.v1.EditAtom
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EditAtom.Builder
addAllInputs(Iterable<String> values)
List of `Input.key`s identifying files that should be used in this atom.EditAtom.Builder
addInputs(String value)
List of `Input.key`s identifying files that should be used in this atom.EditAtom.Builder
addInputsBytes(com.google.protobuf.ByteString value)
List of `Input.key`s identifying files that should be used in this atom.EditAtom.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
EditAtom
build()
EditAtom
buildPartial()
EditAtom.Builder
clear()
EditAtom.Builder
clearEndTimeOffset()
End time in seconds for the atom, relative to the input file timeline.EditAtom.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
EditAtom.Builder
clearInputs()
List of `Input.key`s identifying files that should be used in this atom.EditAtom.Builder
clearKey()
A unique key for this atom.EditAtom.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
EditAtom.Builder
clearStartTimeOffset()
Start time in seconds for the atom, relative to the input file timeline.EditAtom.Builder
clone()
EditAtom
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Duration
getEndTimeOffset()
End time in seconds for the atom, relative to the input file timeline.com.google.protobuf.Duration.Builder
getEndTimeOffsetBuilder()
End time in seconds for the atom, relative to the input file timeline.com.google.protobuf.DurationOrBuilder
getEndTimeOffsetOrBuilder()
End time in seconds for the atom, relative to the input file timeline.String
getInputs(int index)
List of `Input.key`s identifying files that should be used in this atom.com.google.protobuf.ByteString
getInputsBytes(int index)
List of `Input.key`s identifying files that should be used in this atom.int
getInputsCount()
List of `Input.key`s identifying files that should be used in this atom.com.google.protobuf.ProtocolStringList
getInputsList()
List of `Input.key`s identifying files that should be used in this atom.String
getKey()
A unique key for this atom.com.google.protobuf.ByteString
getKeyBytes()
A unique key for this atom.com.google.protobuf.Duration
getStartTimeOffset()
Start time in seconds for the atom, relative to the input file timeline.com.google.protobuf.Duration.Builder
getStartTimeOffsetBuilder()
Start time in seconds for the atom, relative to the input file timeline.com.google.protobuf.DurationOrBuilder
getStartTimeOffsetOrBuilder()
Start time in seconds for the atom, relative to the input file timeline.boolean
hasEndTimeOffset()
End time in seconds for the atom, relative to the input file timeline.boolean
hasStartTimeOffset()
Start time in seconds for the atom, relative to the input file timeline.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EditAtom.Builder
mergeEndTimeOffset(com.google.protobuf.Duration value)
End time in seconds for the atom, relative to the input file timeline.EditAtom.Builder
mergeFrom(EditAtom other)
EditAtom.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EditAtom.Builder
mergeFrom(com.google.protobuf.Message other)
EditAtom.Builder
mergeStartTimeOffset(com.google.protobuf.Duration value)
Start time in seconds for the atom, relative to the input file timeline.EditAtom.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EditAtom.Builder
setEndTimeOffset(com.google.protobuf.Duration value)
End time in seconds for the atom, relative to the input file timeline.EditAtom.Builder
setEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
End time in seconds for the atom, relative to the input file timeline.EditAtom.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
EditAtom.Builder
setInputs(int index, String value)
List of `Input.key`s identifying files that should be used in this atom.EditAtom.Builder
setKey(String value)
A unique key for this atom.EditAtom.Builder
setKeyBytes(com.google.protobuf.ByteString value)
A unique key for this atom.EditAtom.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
EditAtom.Builder
setStartTimeOffset(com.google.protobuf.Duration value)
Start time in seconds for the atom, relative to the input file timeline.EditAtom.Builder
setStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
Start time in seconds for the atom, relative to the input file timeline.EditAtom.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
clear
public EditAtom.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
getDefaultInstanceForType
public EditAtom getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EditAtom build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EditAtom buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EditAtom.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
setField
public EditAtom.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
clearField
public EditAtom.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
clearOneof
public EditAtom.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
addRepeatedField
public EditAtom.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
mergeFrom
public EditAtom.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EditAtom.Builder>
-
mergeFrom
public EditAtom.Builder mergeFrom(EditAtom other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceEditAtomOrBuilder
- 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 interfaceEditAtomOrBuilder
- 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 interfaceEditAtomOrBuilder
- 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 interfaceEditAtomOrBuilder
- 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 interfaceEditAtomOrBuilder
- 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 interfaceEditAtomOrBuilder
- 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 interfaceEditAtomOrBuilder
- 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 interfaceEditAtomOrBuilder
- 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 interfaceEditAtomOrBuilder
-
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 interfaceEditAtomOrBuilder
- 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 interfaceEditAtomOrBuilder
- 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 interfaceEditAtomOrBuilder
-
setUnknownFields
public final EditAtom.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
mergeUnknownFields
public final EditAtom.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
-