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