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 TypeMethodDescriptionaddAllInputs(Iterable<String> values) 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.build()clear()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.clearKey()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.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationEnd time in seconds for the atom, relative to the input file timeline.com.google.protobuf.Duration.BuilderEnd time in seconds for the atom, relative to the input file timeline.com.google.protobuf.DurationOrBuilderEnd 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.ByteStringgetInputsBytes(int index) List of [Input.key][google.cloud.video.transcoder.v1.Input.key] values identifying files that should be used in this atom.intList of [Input.key][google.cloud.video.transcoder.v1.Input.key] values identifying files that should be used in this atom.com.google.protobuf.ProtocolStringListList of [Input.key][google.cloud.video.transcoder.v1.Input.key] values identifying files that should be used in this atom.getKey()A unique key for this atom.com.google.protobuf.ByteStringA unique key for this atom.com.google.protobuf.DurationStart time in seconds for the atom, relative to the input file timeline.com.google.protobuf.Duration.BuilderStart time in seconds for the atom, relative to the input file timeline.com.google.protobuf.DurationOrBuilderStart time in seconds for the atom, relative to the input file timeline.booleanEnd time in seconds for the atom, relative to the input file timeline.booleanStart time in seconds for the atom, relative to the input file timeline.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTimeOffset(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.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.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EditAtom.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EditAtom.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EditAtom.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EditAtom.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EditAtom.Builder>- Throws:
IOException
-
getKey
A unique key for this atom. Must be specified when using advanced mapping.
string key = 1;- Specified by:
getKeyin 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:
getKeyBytesin interfaceEditAtomOrBuilder- Returns:
- The bytes for key.
-
setKey
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
A unique key for this atom. Must be specified when using advanced mapping.
string key = 1;- Returns:
- This builder for chaining.
-
setKeyBytes
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:
getInputsListin interfaceEditAtomOrBuilder- 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:
getInputsCountin interfaceEditAtomOrBuilder- Returns:
- The count of inputs.
-
getInputs
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:
getInputsin 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][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:
getInputsBytesin interfaceEditAtomOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inputs at the given index.
-
setInputs
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
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
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
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
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:
hasEndTimeOffsetin 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:
getEndTimeOffsetin interfaceEditAtomOrBuilder- Returns:
- The endTimeOffset.
-
setEndTimeOffset
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
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
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
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:
getEndTimeOffsetOrBuilderin 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:
hasStartTimeOffsetin 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:
getStartTimeOffsetin interfaceEditAtomOrBuilder- Returns:
- The startTimeOffset.
-
setStartTimeOffset
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
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
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
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:
getStartTimeOffsetOrBuilderin interfaceEditAtomOrBuilder
-