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.BuilderaddAllInputs(Iterable<String> values)List of `Input.key`s identifying files that should be used in this atom.EditAtom.BuilderaddInputs(String value)List of `Input.key`s identifying files that should be used in this atom.EditAtom.BuilderaddInputsBytes(com.google.protobuf.ByteString value)List of `Input.key`s identifying files that should be used in this atom.EditAtom.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)EditAtombuild()EditAtombuildPartial()EditAtom.Builderclear()EditAtom.BuilderclearEndTimeOffset()End time in seconds for the atom, relative to the input file timeline.EditAtom.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)EditAtom.BuilderclearInputs()List of `Input.key`s identifying files that should be used in this atom.EditAtom.BuilderclearKey()A unique key for this atom.EditAtom.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)EditAtom.BuilderclearStartTimeOffset()Start time in seconds for the atom, relative to the input file timeline.EditAtom.Builderclone()EditAtomgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.DurationgetEndTimeOffset()End time in seconds for the atom, relative to the input file timeline.com.google.protobuf.Duration.BuildergetEndTimeOffsetBuilder()End time in seconds for the atom, relative to the input file timeline.com.google.protobuf.DurationOrBuildergetEndTimeOffsetOrBuilder()End time in seconds for the atom, relative to the input file timeline.StringgetInputs(int index)List of `Input.key`s identifying files that should be used in this atom.com.google.protobuf.ByteStringgetInputsBytes(int index)List of `Input.key`s identifying files that should be used in this atom.intgetInputsCount()List of `Input.key`s identifying files that should be used in this atom.com.google.protobuf.ProtocolStringListgetInputsList()List of `Input.key`s identifying files that should be used in this atom.StringgetKey()A unique key for this atom.com.google.protobuf.ByteStringgetKeyBytes()A unique key for this atom.com.google.protobuf.DurationgetStartTimeOffset()Start time in seconds for the atom, relative to the input file timeline.com.google.protobuf.Duration.BuildergetStartTimeOffsetBuilder()Start time in seconds for the atom, relative to the input file timeline.com.google.protobuf.DurationOrBuildergetStartTimeOffsetOrBuilder()Start time in seconds for the atom, relative to the input file timeline.booleanhasEndTimeOffset()End time in seconds for the atom, relative to the input file timeline.booleanhasStartTimeOffset()Start time in seconds for the atom, relative to the input file timeline.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()EditAtom.BuildermergeEndTimeOffset(com.google.protobuf.Duration value)End time in seconds for the atom, relative to the input file timeline.EditAtom.BuildermergeFrom(EditAtom other)EditAtom.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)EditAtom.BuildermergeFrom(com.google.protobuf.Message other)EditAtom.BuildermergeStartTimeOffset(com.google.protobuf.Duration value)Start time in seconds for the atom, relative to the input file timeline.EditAtom.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)EditAtom.BuildersetEndTimeOffset(com.google.protobuf.Duration value)End time in seconds for the atom, relative to the input file timeline.EditAtom.BuildersetEndTimeOffset(com.google.protobuf.Duration.Builder builderForValue)End time in seconds for the atom, relative to the input file timeline.EditAtom.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)EditAtom.BuildersetInputs(int index, String value)List of `Input.key`s identifying files that should be used in this atom.EditAtom.BuildersetKey(String value)A unique key for this atom.EditAtom.BuildersetKeyBytes(com.google.protobuf.ByteString value)A unique key for this atom.EditAtom.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)EditAtom.BuildersetStartTimeOffset(com.google.protobuf.Duration value)Start time in seconds for the atom, relative to the input file timeline.EditAtom.BuildersetStartTimeOffset(com.google.protobuf.Duration.Builder builderForValue)Start time in seconds for the atom, relative to the input file timeline.EditAtom.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
clear
public EditAtom.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<EditAtom.Builder>
-
getDefaultInstanceForType
public EditAtom getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public EditAtom build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EditAtom buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EditAtom.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
setField
public EditAtom.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
clearField
public EditAtom.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
clearOneof
public EditAtom.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
setRepeatedField
public EditAtom.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
addRepeatedField
public EditAtom.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
mergeFrom
public EditAtom.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EditAtom.Builder>
-
mergeFrom
public EditAtom.Builder mergeFrom(EditAtom other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
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
public String 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
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:
getInputsListin 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:
getInputsCountin 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:
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`s 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
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:
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
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:
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
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:
getStartTimeOffsetOrBuilderin interfaceEditAtomOrBuilder
-
setUnknownFields
public final EditAtom.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
mergeUnknownFields
public final EditAtom.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EditAtom.Builder>
-
-