Class TextStream.TextAtom.TextInput.Builder

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

Identifies which input file and track should be used.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TextStream.TextAtom.TextInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder
Overrides

build()

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

buildPartial()

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

clear()

public TextStream.TextAtom.TextInput.Builder clear()
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TextStream.TextAtom.TextInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder
Overrides

clearKey()

public TextStream.TextAtom.TextInput.Builder clearKey()

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

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

Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TextStream.TextAtom.TextInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder
Overrides

clearTrack()

public TextStream.TextAtom.TextInput.Builder clearTrack()

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

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

Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder

This builder for chaining.

clone()

public TextStream.TextAtom.TextInput.Builder clone()
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TextStream.TextAtom.TextInput other)

public TextStream.TextAtom.TextInput.Builder mergeFrom(TextStream.TextAtom.TextInput other)
Parameter
NameDescription
otherTextStream.TextAtom.TextInput
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TextStream.TextAtom.TextInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TextStream.TextAtom.TextInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TextStream.TextAtom.TextInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder
Overrides

setKey(String value)

public TextStream.TextAtom.TextInput.Builder setKey(String value)

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

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

Parameter
NameDescription
valueString

The key to set.

Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public TextStream.TextAtom.TextInput.Builder setKeyBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for key to set.

Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TextStream.TextAtom.TextInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder
Overrides

setTrack(int value)

public TextStream.TextAtom.TextInput.Builder setTrack(int value)

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

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

Parameter
NameDescription
valueint

The track to set.

Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TextStream.TextAtom.TextInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder
Overrides