Class EditAtom.Builder (0.16.0)

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

Edit atom.

Protobuf type google.events.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 int

The index of the value to return.

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

The key.

getKeyBytes()

public ByteString getKeyBytes()

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

string key = 1;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the startTimeOffset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
EditAtom.Builder

mergeFrom(EditAtom other)

public EditAtom.Builder mergeFrom(EditAtom other)
Parameter
Name Description
other EditAtom
Returns
Type Description
EditAtom.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EditAtom.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EditAtom.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EditAtom.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
EditAtom.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EditAtom.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
EditAtom.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EditAtom.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The inputs to set.

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

The key to set.

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

The bytes for key to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
EditAtom.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final EditAtom.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EditAtom.Builder
Overrides