public final class JobTemplate extends GeneratedMessageV3 implements JobTemplateOrBuilder
Transcoding job template resource.
Protobuf type google.cloud.video.transcoder.v1.JobTemplate
Static Fields
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
Field Value
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static JobTemplate getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static JobTemplate.Builder newBuilder()
Returns
newBuilder(JobTemplate prototype)
public static JobTemplate.Builder newBuilder(JobTemplate prototype)
Parameter
Returns
public static JobTemplate parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobTemplate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static JobTemplate parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobTemplate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static JobTemplate parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobTemplate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobTemplate parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static JobTemplate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobTemplate parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobTemplate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static JobTemplate parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobTemplate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<JobTemplate> parser()
Returns
Methods
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getConfig()
public JobConfig getConfig()
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
Returns
getConfigOrBuilder()
public JobConfigOrBuilder getConfigOrBuilder()
The configuration for this template.
.google.cloud.video.transcoder.v1.JobConfig config = 2;
Returns
getDefaultInstanceForType()
public JobTemplate getDefaultInstanceForType()
Returns
getLabels()
public Map<String,String> getLabels()
Returns
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
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
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
Returns
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
Returns
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
getParserForType()
public Parser<JobTemplate> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public JobTemplate.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobTemplate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public JobTemplate.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions