Interface JobTemplateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
JobTemplate
,JobTemplate.Builder
public interface JobTemplateOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
The labels associated with this job template.JobConfig
getConfig()
The configuration for this template.JobConfigOrBuilder
getConfigOrBuilder()
The configuration for this template.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
The labels associated with this job template.Map<String,String>
getLabelsMap()
The labels associated with this job template.String
getLabelsOrDefault(String key, String defaultValue)
The labels associated with this job template.String
getLabelsOrThrow(String key)
The labels associated with this job template.String
getName()
The resource name of the job template.com.google.protobuf.ByteString
getNameBytes()
The resource name of the job template.boolean
hasConfig()
The configuration for this template.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
string name = 1;
- Returns:
- The bytes for name.
-
hasConfig
boolean hasConfig()
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
- Returns:
- Whether the config field is set.
-
getConfig
JobConfig getConfig()
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
- Returns:
- The config.
-
getConfigOrBuilder
JobConfigOrBuilder getConfigOrBuilder()
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
-
getLabelsCount
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;
-
containsLabels
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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
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 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;
-
-