public static final class JobTemplate.Builder extends GeneratedMessage.Builder<JobTemplate.Builder> implements JobTemplateOrBuilderTranscoding job template resource.
Protobuf type google.cloud.video.transcoder.v1.JobTemplate
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > JobTemplate.BuilderImplements
JobTemplateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public JobTemplate build()| Returns | |
|---|---|
| Type | Description |
JobTemplate |
|
buildPartial()
public JobTemplate buildPartial()| Returns | |
|---|---|
| Type | Description |
JobTemplate |
|
clear()
public JobTemplate.Builder clear()| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
|
clearConfig()
public JobTemplate.Builder clearConfig()The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
|
clearLabels()
public JobTemplate.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
|
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 | |
|---|---|
| Type | Description |
JobTemplate.Builder |
This builder for chaining. |
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getConfig()
public JobConfig getConfig()The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
| Returns | |
|---|---|
| Type | Description |
JobConfig |
The config. |
getConfigBuilder()
public JobConfig.Builder getConfigBuilder()The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
| Returns | |
|---|---|
| Type | Description |
JobConfig.Builder |
|
getConfigOrBuilder()
public JobConfigOrBuilder getConfigOrBuilder()The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
| Returns | |
|---|---|
| Type | Description |
JobConfigOrBuilder |
|
getDefaultInstanceForType()
public JobTemplate getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
JobTemplate |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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 | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| 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() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public 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 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.cloud.video.transcoder.v1.JobConfig config = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the config field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeConfig(JobConfig value)
public JobTemplate.Builder mergeConfig(JobConfig value)The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
JobConfig |
| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
|
mergeFrom(JobTemplate other)
public JobTemplate.Builder mergeFrom(JobTemplate other)| Parameter | |
|---|---|
| Name | Description |
other |
JobTemplate |
| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public JobTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public JobTemplate.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
|
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 | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
|
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 | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
|
setConfig(JobConfig value)
public JobTemplate.Builder setConfig(JobConfig value)The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
JobConfig |
| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
JobConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
|
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
JobTemplate.Builder |
This builder for chaining. |