Class TextStream.TextAtom.TextInput.Builder (0.4.3)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TextStream.TextAtom.TextInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TextStream.TextAtom.TextInput.Builder
Overrides

build()

public TextStream.TextAtom.TextInput build()
Returns
Type Description
TextStream.TextAtom.TextInput

buildPartial()

public TextStream.TextAtom.TextInput buildPartial()
Returns
Type Description
TextStream.TextAtom.TextInput

clear()

public TextStream.TextAtom.TextInput.Builder clear()
Returns
Type Description
TextStream.TextAtom.TextInput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TextStream.TextAtom.TextInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
TextStream.TextAtom.TextInput.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TextStream.TextAtom.TextInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
TextStream.TextAtom.TextInput.Builder

This builder for chaining.

clone()

public TextStream.TextAtom.TextInput.Builder clone()
Returns
Type Description
TextStream.TextAtom.TextInput.Builder
Overrides

getDefaultInstanceForType()

public TextStream.TextAtom.TextInput getDefaultInstanceForType()
Returns
Type Description
TextStream.TextAtom.TextInput

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKey()

public String getKey()

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

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

Returns
Type Description
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
Type Description
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
Type Description
int

The track.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TextStream.TextAtom.TextInput other)

public TextStream.TextAtom.TextInput.Builder mergeFrom(TextStream.TextAtom.TextInput other)
Parameter
Name Description
other TextStream.TextAtom.TextInput
Returns
Type Description
TextStream.TextAtom.TextInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TextStream.TextAtom.TextInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextStream.TextAtom.TextInput.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public TextStream.TextAtom.TextInput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TextStream.TextAtom.TextInput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TextStream.TextAtom.TextInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TextStream.TextAtom.TextInput.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TextStream.TextAtom.TextInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The key to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for key to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value int

The track to set.

Returns
Type Description
TextStream.TextAtom.TextInput.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TextStream.TextAtom.TextInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TextStream.TextAtom.TextInput.Builder
Overrides