Class EditAtom.Builder (1.7.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
Type Description
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
Name Description
values Iterable<String>

The inputs to add.

Returns
Type Description
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
Name Description
value String

The inputs to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the inputs to add.

Returns
Type Description
EditAtom.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EditAtom.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EditAtom.Builder
Overrides

build()

public EditAtom build()
Returns
Type Description
EditAtom

buildPartial()

public EditAtom buildPartial()
Returns
Type Description
EditAtom

clear()

public EditAtom.Builder clear()
Returns
Type Description
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
Type Description
EditAtom.Builder

clearField(Descriptors.FieldDescriptor field)

public EditAtom.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
EditAtom.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EditAtom.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
EditAtom.Builder

clone()

public EditAtom.Builder clone()
Returns
Type Description
EditAtom.Builder
Overrides

getDefaultInstanceForType()

public EditAtom getDefaultInstanceForType()
Returns
Type Description
EditAtom

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index