Class JobTemplate (1.56.0)

publicfinalclass JobTemplateextendsGeneratedMessageV3implementsJobTemplateOrBuilder

Transcoding job template resource.

Protobuf type google.cloud.video.transcoder.v1.JobTemplate

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

CONFIG_FIELD_NUMBER

publicstaticfinalintCONFIG_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

publicstaticfinalintLABELS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticJobTemplategetDefaultInstance()
Returns
Type Description
JobTemplate

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticJobTemplate.BuildernewBuilder()
Returns
Type Description
JobTemplate.Builder

newBuilder(JobTemplate prototype)

publicstaticJobTemplate.BuildernewBuilder(JobTemplateprototype)
Parameter
Name Description
prototype JobTemplate
Returns
Type Description
JobTemplate.Builder

parseDelimitedFrom(InputStream input)

publicstaticJobTemplateparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
JobTemplate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticJobTemplateparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTemplate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticJobTemplateparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
JobTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticJobTemplateparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticJobTemplateparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
JobTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticJobTemplateparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticJobTemplateparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
JobTemplate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticJobTemplateparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTemplate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticJobTemplateparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
JobTemplate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticJobTemplateparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTemplate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticJobTemplateparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
JobTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticJobTemplateparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<JobTemplate>parser()
Returns
Type Description
Parser<JobTemplate>

Methods

containsLabels(String key)

publicbooleancontainsLabels(Stringkey)

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

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConfig()

publicJobConfiggetConfig()

The configuration for this template.

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

Returns
Type Description
JobConfig

The config.

getConfigOrBuilder()

publicJobConfigOrBuildergetConfigOrBuilder()

The configuration for this template.

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

Returns
Type Description
JobConfigOrBuilder

getDefaultInstanceForType()

publicJobTemplategetDefaultInstanceForType()
Returns
Type Description
JobTemplate

getLabels() (deprecated)

publicMap<String,String>getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

publicintgetLabelsCount()

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()

publicMap<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)

publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)

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)

publicStringgetLabelsOrThrow(Stringkey)

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()

publicStringgetName()

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()

publicByteStringgetNameBytes()

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.

getParserForType()

publicParser<JobTemplate>getParserForType()
Returns
Type Description
Parser<JobTemplate>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasConfig()

publicbooleanhasConfig()

The configuration for this template.

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

Returns
Type Description
boolean

Whether the config field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicJobTemplate.BuildernewBuilderForType()
Returns
Type Description
JobTemplate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedJobTemplate.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
JobTemplate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicJobTemplate.BuildertoBuilder()
Returns
Type Description
JobTemplate.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.