Class Input.Builder (0.16.0)

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

Input asset.

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

Implements

InputOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Input build()
Returns
Type Description
Input

buildPartial()

public Input buildPartial()
Returns
Type Description
Input

clear()

public Input.Builder clear()
Returns
Type Description
Input.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Input.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Input.Builder
Overrides

clearPreprocessingConfig()

public Input.Builder clearPreprocessingConfig()

Preprocessing configurations.

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

Returns
Type Description
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
Type Description
Input.Builder

This builder for chaining.

clone()

public Input.Builder clone()
Returns
Type Description
Input.Builder
Overrides

getDefaultInstanceForType()

public Input getDefaultInstanceForType()
Returns
Type Description
Input

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for key.

getPreprocessingConfig()

public PreprocessingConfig getPreprocessingConfig()

Preprocessing configurations.

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

Returns
Type Description
PreprocessingConfig

The preprocessingConfig.

getPreprocessingConfigBuilder()

public PreprocessingConfig.Builder getPreprocessingConfigBuilder()

Preprocessing configurations.

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

Returns
Type Description
PreprocessingConfig.Builder

getPreprocessingConfigOrBuilder()

public PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder()

Preprocessing configurations.

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

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

The bytes for uri.

hasPreprocessingConfig()

public boolean hasPreprocessingConfig()

Preprocessing configurations.

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

Returns
Type Description
boolean

Whether the preprocessingConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Input other)

public Input.Builder mergeFrom(Input other)
Parameter
Name Description
other Input
Returns
Type Description
Input.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Input.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Input.Builder
Overrides

mergePreprocessingConfig(PreprocessingConfig value)

public Input.Builder mergePreprocessingConfig(PreprocessingConfig value)

Preprocessing configurations.

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

Parameter
Name Description
value PreprocessingConfig
Returns
Type Description
Input.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Input.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Input.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The key to set.

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

The bytes for key to set.

Returns
Type Description
Input.Builder

This builder for chaining.

setPreprocessingConfig(PreprocessingConfig value)

public Input.Builder setPreprocessingConfig(PreprocessingConfig value)

Preprocessing configurations.

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

Parameter
Name Description
value PreprocessingConfig
Returns
Type Description
Input.Builder

setPreprocessingConfig(PreprocessingConfig.Builder builderForValue)

public Input.Builder setPreprocessingConfig(PreprocessingConfig.Builder builderForValue)

Preprocessing configurations.

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

Parameter
Name Description
builderForValue PreprocessingConfig.Builder
Returns
Type Description
Input.Builder

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

public Input.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Input.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Input.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The uri to set.

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

The bytes for uri to set.

Returns
Type Description
Input.Builder

This builder for chaining.