public static final class Input.Builder extends GeneratedMessageV3.Builder<Input.Builder> implements InputOrBuilder
Input asset.
Protobuf type google.cloud.video.transcoder.v1.Input
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Input.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
Returns |
Type |
Description |
Input |
|
public Input buildPartial()
Returns |
Type |
Description |
Input |
|
public Input.Builder clear()
Overrides
public Input.Builder clearField(Descriptors.FieldDescriptor field)
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 |
Type |
Description |
Input.Builder |
This builder for chaining.
|
public Input.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Input.Builder clearPreprocessingConfig()
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
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.
|
public Input.Builder clone()
Overrides
public Input getDefaultInstanceForType()
Returns |
Type |
Description |
Input |
|
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
public PreprocessingConfig getPreprocessingConfig()
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
public PreprocessingConfig.Builder getPreprocessingConfigBuilder()
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
public PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder()
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
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.
|
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.
|
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()
Overrides
public final boolean isInitialized()
Overrides
public Input.Builder mergeFrom(Input other)
Parameter |
Name |
Description |
other |
Input
|
public Input.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Input.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public Input.Builder mergePreprocessingConfig(PreprocessingConfig value)
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
public final Input.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Input.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
Type |
Description |
Input.Builder |
This builder for chaining.
|
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.
|
public Input.Builder setPreprocessingConfig(PreprocessingConfig value)
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
public Input.Builder setPreprocessingConfig(PreprocessingConfig.Builder builderForValue)
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
public Input.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Input.Builder setUnknownFields(UnknownFieldSet unknownFields)
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 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.
|
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.
|