Interface JobTemplateOrBuilder (1.6.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
NameDescription
keyString
Returns
TypeDescription
boolean

getConfig()

public abstract JobConfig getConfig()

The configuration for this template.

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

Returns
TypeDescription
JobConfig

The config.

getConfigOrBuilder()

public abstract JobConfigOrBuilder getConfigOrBuilder()

The configuration for this template.

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

Returns
TypeDescription
JobConfigOrBuilder

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

hasConfig()

public abstract boolean hasConfig()

The configuration for this template.

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

Returns
TypeDescription
boolean

Whether the config field is set.