Class EditAtom (1.43.0)

public final class EditAtom extends GeneratedMessageV3 implements EditAtomOrBuilder

Edit atom.

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

Implements

EditAtomOrBuilder

Static Fields

END_TIME_OFFSET_FIELD_NUMBER

public static final int END_TIME_OFFSET_FIELD_NUMBER
Field Value
Type Description
int

INPUTS_FIELD_NUMBER

public static final int INPUTS_FIELD_NUMBER
Field Value
Type Description
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_OFFSET_FIELD_NUMBER

public static final int START_TIME_OFFSET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EditAtom getDefaultInstance()
Returns
Type Description
EditAtom

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EditAtom.Builder newBuilder()
Returns
Type Description
EditAtom.Builder

newBuilder(EditAtom prototype)

public static EditAtom.Builder newBuilder(EditAtom prototype)
Parameter
Name Description
prototype EditAtom
Returns
Type Description
EditAtom.Builder

parseDelimitedFrom(InputStream input)

public static EditAtom parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EditAtom
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EditAtom parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EditAtom
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EditAtom parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EditAtom
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EditAtom parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EditAtom
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EditAtom parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EditAtom
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EditAtom parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EditAtom
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EditAtom parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EditAtom
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EditAtom parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EditAtom
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EditAtom parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EditAtom
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EditAtom parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EditAtom
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EditAtom parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EditAtom
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EditAtom parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EditAtom
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EditAtom> parser()
Returns
Type Description
Parser<EditAtom>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EditAtom getDefaultInstanceForType()
Returns
Type Description
EditAtom

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.

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.

getParserForType()

public Parser<EditAtom> getParserForType()
Returns
Type Description
Parser<EditAtom>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EditAtom.Builder newBuilderForType()
Returns
Type Description
EditAtom.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EditAtom.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EditAtom.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EditAtom.Builder toBuilder()
Returns
Type Description
EditAtom.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException