public static final class JobTemplate.Builder extends GeneratedMessageV3.Builder<JobTemplate.Builder> implements JobTemplateOrBuilder
Transcoding job template resource.
Protobuf type google.cloud.video.transcoder.v1.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.v1.JobConfig config = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public JobTemplate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLabels()
public JobTemplate.Builder clearLabels()
Returns
clearName()
public JobTemplate.Builder clearName()
The resource name of the job template.
Format:
projects/{project_number}/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
containsLabels(String key)
public boolean containsLabels(String key)
The labels associated with this job template. You can use these to organize
and group your job templates.
map<string, string> labels = 3;
Parameter
Returns
getConfig()
public JobConfig getConfig()
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
Returns
getConfigBuilder()
public JobConfig.Builder getConfigBuilder()
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
Returns
getConfigOrBuilder()
public JobConfigOrBuilder getConfigOrBuilder()
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
Returns
getDefaultInstanceForType()
public JobTemplate getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLabels()
public Map<String,String> getLabels()
Returns
getLabelsCount()
public int getLabelsCount()
The labels associated with this job template. You can use these to organize
and group your job templates.
map<string, string> labels = 3;
Returns
getLabelsMap()
public Map<String,String> getLabelsMap()
The labels associated with this job template. You can use these to organize
and group your job templates.
map<string, string> labels = 3;
Returns
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
The labels associated with this job template. You can use these to organize
and group your job templates.
map<string, string> labels = 3;
Parameters
Returns
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
The labels associated with this job template. You can use these to organize
and group your job templates.
map<string, string> labels = 3;
Parameter
Returns
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns
getName()
The resource name of the job template.
Format:
projects/{project_number}/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_number}/locations/{location}/jobTemplates/{job_template}
string name = 1;
Returns
hasConfig()
public boolean hasConfig()
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
Returns
Type | Description |
boolean | Whether the config field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
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.v1.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
putAllLabels(Map<String,String> values)
public JobTemplate.Builder putAllLabels(Map<String,String> values)
The labels associated with this job template. You can use these to organize
and group your job templates.
map<string, string> labels = 3;
Parameter
Returns
putLabels(String key, String value)
public JobTemplate.Builder putLabels(String key, String value)
The labels associated with this job template. You can use these to organize
and group your job templates.
map<string, string> labels = 3;
Parameters
Returns
removeLabels(String key)
public JobTemplate.Builder removeLabels(String key)
The labels associated with this job template. You can use these to organize
and group your job templates.
map<string, string> labels = 3;
Parameter
Returns
setConfig(JobConfig value)
public JobTemplate.Builder setConfig(JobConfig value)
The configuration for this template.
.google.cloud.video.transcoder.v1.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.v1.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_number}/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_number}/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