public final class EditAtom extends GeneratedMessageV3 implements EditAtomOrBuilder
Edit atom.
Protobuf type google.cloud.video.transcoder.v1.EditAtom
Static Fields
END_TIME_OFFSET_FIELD_NUMBER
public static final int END_TIME_OFFSET_FIELD_NUMBER
Field Value
public static final int INPUTS_FIELD_NUMBER
Field Value
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
Field Value
START_TIME_OFFSET_FIELD_NUMBER
public static final int START_TIME_OFFSET_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static EditAtom getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static EditAtom.Builder newBuilder()
Returns
newBuilder(EditAtom prototype)
public static EditAtom.Builder newBuilder(EditAtom prototype)
Parameter
Returns
public static EditAtom parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EditAtom parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EditAtom parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EditAtom parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EditAtom parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EditAtom parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EditAtom parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EditAtom parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EditAtom parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EditAtom parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EditAtom parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EditAtom parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EditAtom> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public EditAtom getDefaultInstanceForType()
Returns
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
public String getInputs(int index)
List of Input.key
s 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.
|
public ByteString getInputsBytes(int index)
List of Input.key
s 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.
|
public int getInputsCount()
List of Input.key
s 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.
|
public ProtocolStringList getInputsList()
List of Input.key
s identifying files that should be used in this atom.
The listed inputs
must have the same timeline.
repeated string inputs = 2;
Returns
getKey()
A unique key for this atom. Must be specified when using advanced
mapping.
string key = 1;
Returns
getKeyBytes()
public ByteString getKeyBytes()
A unique key for this atom. Must be specified when using advanced
mapping.
string key = 1;
Returns
getParserForType()
public Parser<EditAtom> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public EditAtom.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EditAtom.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public EditAtom.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions