public static final class Input.Builder extends GeneratedMessageV3.Builder<Input.Builder> implements InputOrBuilder
Input asset.
Protobuf type google.cloud.video.transcoder.v1.Input
Methods
public Input.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
Returns
public Input buildPartial()
Returns
public Input.Builder clear()
Returns
Overrides
public Input.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Input.Builder clearKey()
A unique key for this input. Must be specified when using advanced
mapping and edit lists.
string key = 1;
Returns
public Input.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Input.Builder clearPreprocessingConfig()
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
Returns
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 will be populated from Job.input_uri
.
string uri = 2;
Returns
public Input.Builder clone()
Returns
Overrides
public Input getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
A unique key for this input. Must be specified when using advanced
mapping and edit lists.
string key = 1;
Returns
public ByteString getKeyBytes()
A unique key for this input. Must be specified when using advanced
mapping and edit lists.
string key = 1;
Returns
public PreprocessingConfig getPreprocessingConfig()
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
Returns
public PreprocessingConfig.Builder getPreprocessingConfigBuilder()
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
Returns
public PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder()
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
Returns
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 will be populated from Job.input_uri
.
string uri = 2;
Returns
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 will be populated from Job.input_uri
.
string uri = 2;
Returns
public boolean hasPreprocessingConfig()
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
Returns
Type | Description |
boolean | Whether the preprocessingConfig field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Input.Builder mergeFrom(Input other)
Parameter
Name | Description |
other | Input
|
Returns
public Input.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Input.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public Input.Builder mergePreprocessingConfig(PreprocessingConfig value)
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
Parameter
Returns
public final Input.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Input.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public Input.Builder setPreprocessingConfig(PreprocessingConfig value)
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
Parameter
Returns
public Input.Builder setPreprocessingConfig(PreprocessingConfig.Builder builderForValue)
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
Parameter
Returns
public Input.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final Input.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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 will be populated from Job.input_uri
.
string uri = 2;
Parameter
Name | Description |
value | String
The uri to set.
|
Returns
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 will be populated from Job.input_uri
.
string uri = 2;
Parameter
Name | Description |
value | ByteString
The bytes for uri to set.
|
Returns