Class TextStream.TextAtom (0.4.3)

public static final class TextStream.TextAtom extends GeneratedMessageV3 implements TextStream.TextAtomOrBuilder

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

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

Fields

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

Methods

equals(Object obj)

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

getDefaultInstance()

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

getDefaultInstanceForType()

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

getDescriptor()

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

getInputs(int index)

public TextStream.TextAtom.TextInput getInputs(int index)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TextStream.TextAtom.TextInput

getInputsCount()

public int getInputsCount()

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Returns
TypeDescription
int

getInputsList()

public List<TextStream.TextAtom.TextInput> getInputsList()

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Returns
TypeDescription
List<TextInput>

getInputsOrBuilder(int index)

public TextStream.TextAtom.TextInputOrBuilder getInputsOrBuilder(int index)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TextStream.TextAtom.TextInputOrBuilder

getInputsOrBuilderList()

public List<? extends TextStream.TextAtom.TextInputOrBuilder> getInputsOrBuilderList()

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Returns
TypeDescription
List<? extends com.google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInputOrBuilder>

getKey()

public String getKey()

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

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

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for key.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.Builder newBuilder()
Returns
TypeDescription
TextStream.TextAtom.Builder

newBuilder(TextStream.TextAtom prototype)

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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TextStream.TextAtom.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TextStream.TextAtom.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 parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TextStream.TextAtom
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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