Class EditAtom (1.40.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
TypeDescription
int

INPUTS_FIELD_NUMBER

public static final int INPUTS_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_OFFSET_FIELD_NUMBER

public static final int START_TIME_OFFSET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EditAtom getDefaultInstance()
Returns
TypeDescription
EditAtom

getDescriptor()

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

newBuilder()

public static EditAtom.Builder newBuilder()
Returns
TypeDescription
EditAtom.Builder

newBuilder(EditAtom prototype)

public static EditAtom.Builder newBuilder(EditAtom prototype)
Parameter
NameDescription
prototypeEditAtom
Returns
TypeDescription
EditAtom.Builder

parseDelimitedFrom(InputStream input)

public static EditAtom parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EditAtom
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EditAtom parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EditAtom
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EditAtom parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EditAtom
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EditAtom parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EditAtom
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EditAtom parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EditAtom
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EditAtom parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EditAtom
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EditAtom parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EditAtom
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EditAtom parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EditAtom
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EditAtom parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EditAtom
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EditAtom parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EditAtom
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EditAtom parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EditAtom
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EditAtom parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EditAtom
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EditAtom> parser()
Returns
TypeDescription
Parser<EditAtom>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EditAtom getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
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.

getParserForType()

public Parser<EditAtom> getParserForType()
Returns
TypeDescription
Parser<EditAtom>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EditAtom.Builder newBuilderForType()
Returns
TypeDescription
EditAtom.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EditAtom.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EditAtom.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EditAtom.Builder toBuilder()
Returns
TypeDescription
EditAtom.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException