Class EditAtom.Builder (1.2.0)

public static final class EditAtom.Builder extends GeneratedMessageV3.Builder<EditAtom.Builder> implements EditAtomOrBuilder

Edit atom.

Protobuf type google.cloud.video.transcoder.v1.EditAtom

Implements

EditAtomOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllInputs(Iterable<String> values)

public EditAtom.Builder addAllInputs(Iterable<String> values)

List of Input.keys identifying files that should be used in this atom. The listed inputs must have the same timeline.

repeated string inputs = 2;

Parameter
NameDescription
valuesIterable<String>

The inputs to add.

Returns
TypeDescription
EditAtom.Builder

This builder for chaining.

addInputs(String value)

public EditAtom.Builder addInputs(String value)

List of Input.keys identifying files that should be used in this atom. The listed inputs must have the same timeline.

repeated string inputs = 2;

Parameter
NameDescription
valueString

The inputs to add.

Returns
TypeDescription
EditAtom.Builder

This builder for chaining.

addInputsBytes(ByteString value)

public EditAtom.Builder addInputsBytes(ByteString value)

List of Input.keys identifying files that should be used in this atom. The listed inputs must have the same timeline.

repeated string inputs = 2;

Parameter
NameDescription
valueByteString

The bytes of the inputs to add.

Returns
TypeDescription
EditAtom.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EditAtom.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EditAtom.Builder
Overrides

build()

public EditAtom build()
Returns
TypeDescription
EditAtom

buildPartial()

public EditAtom buildPartial()
Returns
TypeDescription
EditAtom

clear()

public EditAtom.Builder clear()
Returns
TypeDescription
EditAtom.Builder
Overrides

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;

Returns
TypeDescription
EditAtom.Builder

clearField(Descriptors.FieldDescriptor field)

public EditAtom.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EditAtom.Builder
Overrides

clearInputs()

public EditAtom.Builder clearInputs()

List of Input.keys identifying files that should be used in this atom. The listed inputs must have the same timeline.

repeated string inputs = 2;

Returns
TypeDescription
EditAtom.Builder

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
TypeDescription
EditAtom.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EditAtom.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EditAtom.Builder
Overrides

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;

Returns
TypeDescription
EditAtom.Builder

clone()

public EditAtom.Builder clone()
Returns
TypeDescription
EditAtom.Builder
Overrides

getDefaultInstanceForType()

public EditAtom getDefaultInstanceForType()
Returns
TypeDescription
EditAtom

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTimeOffset()

public 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;

Returns
TypeDescription
Duration

The endTimeOffset.

getEndTimeOffsetBuilder()

public 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;

Returns
TypeDescription
Builder

getEndTimeOffsetOrBuilder()

public 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;

Returns
TypeDescription
DurationOrBuilder

getInputs(int index)

public String getInputs(int index)

List of Input.keys identifying files that should be used in this atom. The listed inputs must have the same timeline.

repeated string inputs = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The inputs at the given index.

getInputsBytes(int index)

public ByteString getInputsBytes(int index)

List of Input.keys identifying files that should be used in this atom. The listed inputs must have the same timeline.

repeated string inputs = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the inputs at the given index.

getInputsCount()

public int getInputsCount()

List of Input.keys identifying files that should be used in this atom. The listed inputs must have the same timeline.

repeated string inputs = 2;

Returns
TypeDescription
int

The count of inputs.

getInputsList()

public ProtocolStringList getInputsList()

List of Input.keys identifying files that should be used in this atom. The listed inputs must have the same timeline.

repeated string inputs = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the inputs.

getKey()

public String getKey()

A unique key for this atom. Must be specified when using advanced mapping.

string key = 1;

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

A unique key for this atom. Must be specified when using advanced mapping.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getStartTimeOffset()

public 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;

Returns
TypeDescription
Duration

The startTimeOffset.

getStartTimeOffsetBuilder()

public 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;

Returns
TypeDescription
Builder

getStartTimeOffsetOrBuilder()

public 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;

Returns
TypeDescription
DurationOrBuilder

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;

Returns
TypeDescription
boolean

Whether the endTimeOffset field is set.

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;

Returns
TypeDescription
boolean

Whether the startTimeOffset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEndTimeOffset(Duration value)

public EditAtom.Builder mergeEndTimeOffset(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;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
EditAtom.Builder

mergeFrom(EditAtom other)

public EditAtom.Builder mergeFrom(EditAtom other)
Parameter
NameDescription
otherEditAtom
Returns
TypeDescription
EditAtom.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EditAtom.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EditAtom.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EditAtom.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EditAtom.Builder
Overrides

mergeStartTimeOffset(Duration value)

public EditAtom.Builder mergeStartTimeOffset(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;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
EditAtom.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EditAtom.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EditAtom.Builder
Overrides

setEndTimeOffset(Duration value)

public EditAtom.Builder setEndTimeOffset(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;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
EditAtom.Builder

setEndTimeOffset(Duration.Builder builderForValue)

public EditAtom.Builder setEndTimeOffset(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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
EditAtom.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EditAtom.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EditAtom.Builder
Overrides

setInputs(int index, String value)

public EditAtom.Builder setInputs(int index, String value)

List of Input.keys identifying files that should be used in this atom. The listed inputs must have the same timeline.

repeated string inputs = 2;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The inputs to set.

Returns
TypeDescription
EditAtom.Builder

This builder for chaining.

setKey(String value)

public EditAtom.Builder setKey(String value)

A unique key for this atom. Must be specified when using advanced mapping.

string key = 1;

Parameter
NameDescription
valueString

The key to set.

Returns
TypeDescription
EditAtom.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public EditAtom.Builder setKeyBytes(ByteString value)

A unique key for this atom. Must be specified when using advanced mapping.

string key = 1;

Parameter
NameDescription
valueByteString

The bytes for key to set.

Returns
TypeDescription
EditAtom.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EditAtom.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EditAtom.Builder
Overrides

setStartTimeOffset(Duration value)

public EditAtom.Builder setStartTimeOffset(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;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
EditAtom.Builder

setStartTimeOffset(Duration.Builder builderForValue)

public EditAtom.Builder setStartTimeOffset(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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
EditAtom.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final EditAtom.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EditAtom.Builder
Overrides