Class Input.Builder (1.2.0)

public static final class Input.Builder extends GeneratedMessageV3.Builder<Input.Builder> implements InputOrBuilder

Input asset.

Protobuf type google.cloud.video.transcoder.v1.Input

Implements

InputOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Input build()
Returns
TypeDescription
Input

buildPartial()

public Input buildPartial()
Returns
TypeDescription
Input

clear()

public Input.Builder clear()
Returns
TypeDescription
Input.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Input.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Input.Builder
Overrides

clearKey()

public Input.Builder clearKey()

A unique key for this input. Must be specified when using advanced mapping and edit lists.

string key = 1;

Returns
TypeDescription
Input.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Input.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Input.Builder
Overrides

clearPreprocessingConfig()

public Input.Builder clearPreprocessingConfig()

Preprocessing configurations.

.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;

Returns
TypeDescription
Input.Builder

clearUri()

public Input.Builder clearUri()

URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4). If empty, the value is populated from Job.input_uri. See Supported input and output formats.

string uri = 2;

Returns
TypeDescription
Input.Builder

This builder for chaining.

clone()

public Input.Builder clone()
Returns
TypeDescription
Input.Builder
Overrides

getDefaultInstanceForType()

public Input getDefaultInstanceForType()
Returns
TypeDescription
Input

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKey()

public String getKey()

A unique key for this input. Must be specified when using advanced mapping and edit lists.

string key = 1;

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

A unique key for this input. Must be specified when using advanced mapping and edit lists.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getPreprocessingConfig()

public PreprocessingConfig getPreprocessingConfig()

Preprocessing configurations.

.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;

Returns
TypeDescription
PreprocessingConfig

The preprocessingConfig.

getPreprocessingConfigBuilder()

public PreprocessingConfig.Builder getPreprocessingConfigBuilder()

Preprocessing configurations.

.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;

Returns
TypeDescription
PreprocessingConfig.Builder

getPreprocessingConfigOrBuilder()

public PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder()

Preprocessing configurations.

.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;

Returns
TypeDescription
PreprocessingConfigOrBuilder

getUri()

public String getUri()

URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4). If empty, the value is populated from Job.input_uri. See Supported input and output formats.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4). If empty, the value is populated from Job.input_uri. See Supported input and output formats.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.

hasPreprocessingConfig()

public boolean hasPreprocessingConfig()

Preprocessing configurations.

.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;

Returns
TypeDescription
boolean

Whether the preprocessingConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Input other)

public Input.Builder mergeFrom(Input other)
Parameter
NameDescription
otherInput
Returns
TypeDescription
Input.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Input.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Input.Builder
Overrides

mergePreprocessingConfig(PreprocessingConfig value)

public Input.Builder mergePreprocessingConfig(PreprocessingConfig value)

Preprocessing configurations.

.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;

Parameter
NameDescription
valuePreprocessingConfig
Returns
TypeDescription
Input.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Input.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Input.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setKey(String value)

public Input.Builder setKey(String value)

A unique key for this input. Must be specified when using advanced mapping and edit lists.

string key = 1;

Parameter
NameDescription
valueString

The key to set.

Returns
TypeDescription
Input.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public Input.Builder setKeyBytes(ByteString value)

A unique key for this input. Must be specified when using advanced mapping and edit lists.

string key = 1;

Parameter
NameDescription
valueByteString

The bytes for key to set.

Returns
TypeDescription
Input.Builder

This builder for chaining.

setPreprocessingConfig(PreprocessingConfig value)

public Input.Builder setPreprocessingConfig(PreprocessingConfig value)

Preprocessing configurations.

.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;

Parameter
NameDescription
valuePreprocessingConfig
Returns
TypeDescription
Input.Builder

setPreprocessingConfig(PreprocessingConfig.Builder builderForValue)

public Input.Builder setPreprocessingConfig(PreprocessingConfig.Builder builderForValue)

Preprocessing configurations.

.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;

Parameter
NameDescription
builderForValuePreprocessingConfig.Builder
Returns
TypeDescription
Input.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Input.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Input.Builder
Overrides

setUri(String value)

public Input.Builder setUri(String value)

URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4). If empty, the value is populated from Job.input_uri. See Supported input and output formats.

string uri = 2;

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
Input.Builder

This builder for chaining.

setUriBytes(ByteString value)

public Input.Builder setUriBytes(ByteString value)

URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, gs://bucket/inputs/file.mp4). If empty, the value is populated from Job.input_uri. See Supported input and output formats.

string uri = 2;

Parameter
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
Input.Builder

This builder for chaining.