Class TextStream.TextAtom.TextInput (0.4.3)

public static final class TextStream.TextAtom.TextInput extends GeneratedMessageV3 implements TextStream.TextAtom.TextInputOrBuilder

Identifies which input file and track should be used.

Protobuf type google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput

Fields

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
TypeDescription
int

TRACK_FIELD_NUMBER

public static final int TRACK_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static TextStream.TextAtom.TextInput getDefaultInstance()
Returns
TypeDescription
TextStream.TextAtom.TextInput

getDefaultInstanceForType()

public TextStream.TextAtom.TextInput getDefaultInstanceForType()
Returns
TypeDescription
TextStream.TextAtom.TextInput

getDescriptor()

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

getKey()

public String getKey()

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

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

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for key.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTrack()

public int getTrack()

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

int32 track = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The track.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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

newBuilder()

public static TextStream.TextAtom.TextInput.Builder newBuilder()
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder

newBuilder(TextStream.TextAtom.TextInput prototype)

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

newBuilderForType()

public TextStream.TextAtom.TextInput.Builder newBuilderForType()
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

public TextStream.TextAtom.TextInput.Builder toBuilder()
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder

writeTo(CodedOutputStream output)

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