Class JobTemplate.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<JobTemplate.Builder>
com.google.cloud.video.transcoder.v1.JobTemplate.Builder
- All Implemented Interfaces:
JobTemplateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- JobTemplate
public static final class JobTemplate.Builder
extends com.google.protobuf.GeneratedMessage.Builder<JobTemplate.Builder>
implements JobTemplateOrBuilder
Transcoding job template resource.Protobuf type
google.cloud.video.transcoder.v1.JobTemplate-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The configuration for this template.The resource name of the job template.booleancontainsLabels(String key) The labels associated with this job template.The configuration for this template.The configuration for this template.The configuration for this template.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intThe labels associated with this job template.The labels associated with this job template.getLabelsOrDefault(String key, String defaultValue) The labels associated with this job template.getLabelsOrThrow(String key) The labels associated with this job template.Deprecated.getName()The resource name of the job template.com.google.protobuf.ByteStringThe resource name of the job template.booleanThe configuration for this template.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeConfig(JobConfig value) The configuration for this template.mergeFrom(JobTemplate other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllLabels(Map<String, String> values) The labels associated with this job template.The labels associated with this job template.removeLabels(String key) The labels associated with this job template.The configuration for this template.setConfig(JobConfig.Builder builderForValue) The configuration for this template.The resource name of the job template.setNameBytes(com.google.protobuf.ByteString value) The resource name of the job template.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<JobTemplate.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<JobTemplate.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<JobTemplate.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<JobTemplate.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<JobTemplate.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<JobTemplate.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<JobTemplate.Builder>
-
mergeFrom
public JobTemplate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<JobTemplate.Builder>- Throws:
IOException
-
getName
The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`string name = 1;- Specified by:
getNamein interfaceJobTemplateOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`string name = 1;- Specified by:
getNameBytesin interfaceJobTemplateOrBuilder- Returns:
- The bytes for name.
-
setName
The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasConfig
public boolean hasConfig()The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;- Specified by:
hasConfigin interfaceJobTemplateOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;- Specified by:
getConfigin interfaceJobTemplateOrBuilder- Returns:
- The config.
-
setConfig
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2; -
setConfig
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2; -
mergeConfig
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2; -
clearConfig
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2; -
getConfigBuilder
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2; -
getConfigOrBuilder
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;- Specified by:
getConfigOrBuilderin interfaceJobTemplateOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:JobTemplateOrBuilderThe labels associated with this job template. You can use these to organize and group your job templates.
map<string, string> labels = 3;- Specified by:
getLabelsCountin interfaceJobTemplateOrBuilder
-
containsLabels
The labels associated with this job template. You can use these to organize and group your job templates.
map<string, string> labels = 3;- Specified by:
containsLabelsin interfaceJobTemplateOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceJobTemplateOrBuilder
-
getLabelsMap
The labels associated with this job template. You can use these to organize and group your job templates.
map<string, string> labels = 3;- Specified by:
getLabelsMapin interfaceJobTemplateOrBuilder
-
getLabelsOrDefault
The labels associated with this job template. You can use these to organize and group your job templates.
map<string, string> labels = 3;- Specified by:
getLabelsOrDefaultin interfaceJobTemplateOrBuilder
-
getLabelsOrThrow
The labels associated with this job template. You can use these to organize and group your job templates.
map<string, string> labels = 3;- Specified by:
getLabelsOrThrowin interfaceJobTemplateOrBuilder
-
clearLabels
-
removeLabels
The labels associated with this job template. You can use these to organize and group your job templates.
map<string, string> labels = 3; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
The labels associated with this job template. You can use these to organize and group your job templates.
map<string, string> labels = 3; -
putAllLabels
The labels associated with this job template. You can use these to organize and group your job templates.
map<string, string> labels = 3;
-