public static final class JobTemplate.Builder extends GeneratedMessageV3.Builder<JobTemplate.Builder> implements JobTemplateOrBuilder
Transcoding job template resource.
Protobuf type google.cloud.video.transcoder.v1beta1.JobTemplate
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public JobTemplate build()
Returns
buildPartial()
public JobTemplate buildPartial()
Returns
clear()
public JobTemplate.Builder clear()
Returns
Overrides
clearConfig()
public JobTemplate.Builder clearConfig()
The configuration for this template.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public JobTemplate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public JobTemplate.Builder clearName()
The resource name of the job template.
Format:
projects/{project}/locations/{location}/jobTemplates/{job_template}
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public JobTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public JobTemplate.Builder clone()
Returns
Overrides
getConfig()
public JobConfig getConfig()
The configuration for this template.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 2;
Returns
getConfigBuilder()
public JobConfig.Builder getConfigBuilder()
The configuration for this template.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 2;
Returns
getConfigOrBuilder()
public JobConfigOrBuilder getConfigOrBuilder()
The configuration for this template.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 2;
Returns
getDefaultInstanceForType()
public JobTemplate getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
The resource name of the job template.
Format:
projects/{project}/locations/{location}/jobTemplates/{job_template}
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The resource name of the job template.
Format:
projects/{project}/locations/{location}/jobTemplates/{job_template}
string name = 1;
Returns
hasConfig()
public boolean hasConfig()
The configuration for this template.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 2;
Returns
Type | Description |
boolean | Whether the config field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConfig(JobConfig value)
public JobTemplate.Builder mergeConfig(JobConfig value)
The configuration for this template.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 2;
Parameter
Returns
mergeFrom(JobTemplate other)
public JobTemplate.Builder mergeFrom(JobTemplate other)
Parameter
Returns
public JobTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public JobTemplate.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setConfig(JobConfig value)
public JobTemplate.Builder setConfig(JobConfig value)
The configuration for this template.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 2;
Parameter
Returns
setConfig(JobConfig.Builder builderForValue)
public JobTemplate.Builder setConfig(JobConfig.Builder builderForValue)
The configuration for this template.
.google.cloud.video.transcoder.v1beta1.JobConfig config = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public JobTemplate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public JobTemplate.Builder setName(String value)
The resource name of the job template.
Format:
projects/{project}/locations/{location}/jobTemplates/{job_template}
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public JobTemplate.Builder setNameBytes(ByteString value)
The resource name of the job template.
Format:
projects/{project}/locations/{location}/jobTemplates/{job_template}
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final JobTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides