public static final class Input.Builder extends GeneratedMessageV3.Builder<Input.Builder> implements InputOrBuilder
Input asset.
Protobuf type google.cloud.video.transcoder.v1.Input
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Input.BuilderImplements
InputOrBuilderStatic 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 |
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 |
clearAttributes()
public Input.Builder clearAttributes()
Optional. Input Attributes.
.google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Input.Builder |
clearField(Descriptors.FieldDescriptor field)
public Input.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Input.Builder |
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 |
clearPreprocessingConfig()
public Input.Builder clearPreprocessingConfig()
Preprocessing configurations.
.google.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 |
getAttributes()
public InputAttributes getAttributes()
Optional. Input Attributes.
.google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
InputAttributes |
The attributes. |
getAttributesBuilder()
public InputAttributes.Builder getAttributesBuilder()
Optional. Input Attributes.
.google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
InputAttributes.Builder |
getAttributesOrBuilder()
public InputAttributesOrBuilder getAttributesOrBuilder()
Optional. Input Attributes.
.google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
InputAttributesOrBuilder |
getDefaultInstanceForType()
public Input getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Input |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
Returns | |
---|---|
Type | Description |
PreprocessingConfig |
The preprocessingConfig. |
getPreprocessingConfigBuilder()
public PreprocessingConfig.Builder getPreprocessingConfigBuilder()
Preprocessing configurations.
.google.cloud.video.transcoder.v1.PreprocessingConfig preprocessing_config = 3;
Returns | |
---|---|
Type | Description |
PreprocessingConfig.Builder |
getPreprocessingConfigOrBuilder()
public PreprocessingConfigOrBuilder getPreprocessingConfigOrBuilder()
Preprocessing configurations.
.google.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. |
hasAttributes()
public boolean hasAttributes()
Optional. Input Attributes.
.google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the attributes field is set. |
hasPreprocessingConfig()
public boolean hasPreprocessingConfig()
Preprocessing configurations.
.google.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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAttributes(InputAttributes value)
public Input.Builder mergeAttributes(InputAttributes value)
Optional. Input Attributes.
.google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
InputAttributes |
Returns | |
---|---|
Type | Description |
Input.Builder |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Input.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Input.Builder |
mergePreprocessingConfig(PreprocessingConfig value)
public Input.Builder mergePreprocessingConfig(PreprocessingConfig value)
Preprocessing configurations.
.google.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 |
setAttributes(InputAttributes value)
public Input.Builder setAttributes(InputAttributes value)
Optional. Input Attributes.
.google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
InputAttributes |
Returns | |
---|---|
Type | Description |
Input.Builder |
setAttributes(InputAttributes.Builder builderForValue)
public Input.Builder setAttributes(InputAttributes.Builder builderForValue)
Optional. Input Attributes.
.google.cloud.video.transcoder.v1.InputAttributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
InputAttributes.Builder |
Returns | |
---|---|
Type | Description |
Input.Builder |
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 |
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.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.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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final Input.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Input.Builder |
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. |