Interface JobTemplateOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
JobTemplate, JobTemplate.Builder

@Generated public interface JobTemplateOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The labels associated with this job template.
    The configuration for this template.
    The configuration for this template.
    Deprecated.
    int
    The 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.
    The labels associated with this job template.
    The resource name of the job template.
    com.google.protobuf.ByteString
    The resource name of the job template.
    boolean
    The configuration for this template.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       The resource name of the job template.
       Format:
       `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The resource name of the job template.
       Format:
       `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
       
      string name = 1;
      Returns:
      The bytes for name.
    • hasConfig

      boolean hasConfig()
       The configuration for this template.
       
      .google.cloud.video.transcoder.v1.JobConfig config = 2;
      Returns:
      Whether the config field is set.
    • getConfig

      JobConfig getConfig()
       The configuration for this template.
       
      .google.cloud.video.transcoder.v1.JobConfig config = 2;
      Returns:
      The config.
    • getConfigOrBuilder

      JobConfigOrBuilder getConfigOrBuilder()
       The configuration for this template.
       
      .google.cloud.video.transcoder.v1.JobConfig config = 2;
    • getLabelsCount

      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;
    • containsLabels

      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;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      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 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 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;