public static final class JobTemplate.Builder extends GeneratedMessageV3.Builder<JobTemplate.Builder> implements JobTemplateOrBuilder
Transcoding job template resource.
Protobuf type google.events.cloud.video.transcoder.v1.JobTemplate
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public JobTemplate build()
buildPartial()
public JobTemplate buildPartial()
clear()
public JobTemplate.Builder clear()
Overrides
clearConfig()
public JobTemplate.Builder clearConfig()
The configuration for this template.
.google.events.cloud.video.transcoder.v1.JobConfig config = 2;
clearField(Descriptors.FieldDescriptor field)
public JobTemplate.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLabels()
public JobTemplate.Builder clearLabels()
clearName()
public JobTemplate.Builder clearName()
The resource name of the job template.
Format:
projects/{project_number}/locations/{location}/jobTemplates/{job_template}
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public JobTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public JobTemplate.Builder clone()
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 |
Name |
Description |
key |
String
|
getConfig()
public JobConfig getConfig()
The configuration for this template.
.google.events.cloud.video.transcoder.v1.JobConfig config = 2;
Returns |
Type |
Description |
JobConfig |
The config.
|
getConfigBuilder()
public JobConfig.Builder getConfigBuilder()
The configuration for this template.
.google.events.cloud.video.transcoder.v1.JobConfig config = 2;
getConfigOrBuilder()
public JobConfigOrBuilder getConfigOrBuilder()
The configuration for this template.
.google.events.cloud.video.transcoder.v1.JobConfig config = 2;
getDefaultInstanceForType()
public JobTemplate getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLabels()
public Map<String,String> getLabels()
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 |
Type |
Description |
int |
|
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;
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;
Returns |
Type |
Description |
String |
|
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 |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
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 |
Type |
Description |
ByteString |
The bytes for name.
|
hasConfig()
public boolean hasConfig()
The configuration for this template.
.google.events.cloud.video.transcoder.v1.JobConfig config = 2;
Returns |
Type |
Description |
boolean |
Whether the config field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeConfig(JobConfig value)
public JobTemplate.Builder mergeConfig(JobConfig value)
The configuration for this template.
.google.events.cloud.video.transcoder.v1.JobConfig config = 2;
mergeFrom(JobTemplate other)
public JobTemplate.Builder mergeFrom(JobTemplate other)
public JobTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public JobTemplate.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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 |
Name |
Description |
key |
String
|
setConfig(JobConfig value)
public JobTemplate.Builder setConfig(JobConfig value)
The configuration for this template.
.google.events.cloud.video.transcoder.v1.JobConfig config = 2;
setConfig(JobConfig.Builder builderForValue)
public JobTemplate.Builder setConfig(JobConfig.Builder builderForValue)
The configuration for this template.
.google.events.cloud.video.transcoder.v1.JobConfig config = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public JobTemplate.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final JobTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides