Class TextStream.TextMapping (1.19.0)

public static final class TextStream.TextMapping extends GeneratedMessageV3 implements TextStream.TextMappingOrBuilder

The mapping for the Job.edit_list atoms with text EditAtom.inputs.

Protobuf type google.cloud.video.transcoder.v1.TextStream.TextMapping

Static Fields

ATOM_KEY_FIELD_NUMBER

public static final int ATOM_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

INPUT_KEY_FIELD_NUMBER

public static final int INPUT_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

INPUT_TRACK_FIELD_NUMBER

public static final int INPUT_TRACK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TextStream.TextMapping getDefaultInstance()
Returns
TypeDescription
TextStream.TextMapping

getDescriptor()

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

newBuilder()

public static TextStream.TextMapping.Builder newBuilder()
Returns
TypeDescription
TextStream.TextMapping.Builder

newBuilder(TextStream.TextMapping prototype)

public static TextStream.TextMapping.Builder newBuilder(TextStream.TextMapping prototype)
Parameter
NameDescription
prototypeTextStream.TextMapping
Returns
TypeDescription
TextStream.TextMapping.Builder

parseDelimitedFrom(InputStream input)

public static TextStream.TextMapping parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TextStream.TextMapping
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TextStream.TextMapping parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TextStream.TextMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TextStream.TextMapping parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TextStream.TextMapping
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TextStream.TextMapping parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TextStream.TextMapping
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TextStream.TextMapping parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TextStream.TextMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TextStream.TextMapping> parser()
Returns
TypeDescription
Parser<TextMapping>

Methods

equals(Object obj)

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

getAtomKey()

public String getAtomKey()

Required. The EditAtom.key that references atom with text inputs in the Job.edit_list.

string atom_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The atomKey.

getAtomKeyBytes()

public ByteString getAtomKeyBytes()

Required. The EditAtom.key that references atom with text inputs in the Job.edit_list.

string atom_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for atomKey.

getDefaultInstanceForType()

public TextStream.TextMapping getDefaultInstanceForType()
Returns
TypeDescription
TextStream.TextMapping

getInputKey()

public String getInputKey()

Required. The Input.key that identifies the input file.

string input_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The inputKey.

getInputKeyBytes()

public ByteString getInputKeyBytes()

Required. The Input.key that identifies the input file.

string input_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for inputKey.

getInputTrack()

public int getInputTrack()

Required. The zero-based index of the track in the input file.

int32 input_track = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The inputTrack.

getParserForType()

public Parser<TextStream.TextMapping> getParserForType()
Returns
TypeDescription
Parser<TextMapping>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 TextStream.TextMapping.Builder newBuilderForType()
Returns
TypeDescription
TextStream.TextMapping.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TextStream.TextMapping.Builder toBuilder()
Returns
TypeDescription
TextStream.TextMapping.Builder

writeTo(CodedOutputStream output)

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