Interface JobTemplateOrBuilder (1.41.0)

public interface JobTemplateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract 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
Returns
Type Description
boolean

getConfig()

public abstract JobConfig getConfig()

The configuration for this template.

.google.cloud.video.transcoder.v1.JobConfig config = 2;

Returns
Type Description
JobConfig

The config.

getConfigOrBuilder()

public abstract JobConfigOrBuilder getConfigOrBuilder()

The configuration for this template.

.google.cloud.video.transcoder.v1.JobConfig config = 2;

Returns
Type Description
JobConfigOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract 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 abstract 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
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract 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
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract 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

getName()

public abstract String 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 abstract 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 abstract 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.