Class ListJobTemplatesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListJobTemplatesResponse.Builder>
com.google.cloud.video.transcoder.v1.ListJobTemplatesResponse.Builder
All Implemented Interfaces:
ListJobTemplatesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListJobTemplatesResponse

public static final class ListJobTemplatesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListJobTemplatesResponse.Builder> implements ListJobTemplatesResponseOrBuilder
 Response message for `TranscoderService.ListJobTemplates`.
 
Protobuf type google.cloud.video.transcoder.v1.ListJobTemplatesResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListJobTemplatesResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListJobTemplatesResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListJobTemplatesResponse.Builder>
    • getDefaultInstanceForType

      public ListJobTemplatesResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ListJobTemplatesResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListJobTemplatesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListJobTemplatesResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListJobTemplatesResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListJobTemplatesResponse.Builder>
    • mergeFrom

      public ListJobTemplatesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListJobTemplatesResponse.Builder>
      Throws:
      IOException
    • getJobTemplatesList

      public List<JobTemplate> getJobTemplatesList()
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
      Specified by:
      getJobTemplatesList in interface ListJobTemplatesResponseOrBuilder
    • getJobTemplatesCount

      public int getJobTemplatesCount()
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
      Specified by:
      getJobTemplatesCount in interface ListJobTemplatesResponseOrBuilder
    • getJobTemplates

      public JobTemplate getJobTemplates(int index)
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
      Specified by:
      getJobTemplates in interface ListJobTemplatesResponseOrBuilder
    • setJobTemplates

      public ListJobTemplatesResponse.Builder setJobTemplates(int index, JobTemplate value)
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • setJobTemplates

      public ListJobTemplatesResponse.Builder setJobTemplates(int index, JobTemplate.Builder builderForValue)
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • addJobTemplates

      public ListJobTemplatesResponse.Builder addJobTemplates(JobTemplate value)
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • addJobTemplates

      public ListJobTemplatesResponse.Builder addJobTemplates(int index, JobTemplate value)
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • addJobTemplates

      public ListJobTemplatesResponse.Builder addJobTemplates(JobTemplate.Builder builderForValue)
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • addJobTemplates

      public ListJobTemplatesResponse.Builder addJobTemplates(int index, JobTemplate.Builder builderForValue)
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • addAllJobTemplates

      public ListJobTemplatesResponse.Builder addAllJobTemplates(Iterable<? extends JobTemplate> values)
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • clearJobTemplates

      public ListJobTemplatesResponse.Builder clearJobTemplates()
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • removeJobTemplates

      public ListJobTemplatesResponse.Builder removeJobTemplates(int index)
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • getJobTemplatesBuilder

      public JobTemplate.Builder getJobTemplatesBuilder(int index)
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • getJobTemplatesOrBuilder

      public JobTemplateOrBuilder getJobTemplatesOrBuilder(int index)
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
      Specified by:
      getJobTemplatesOrBuilder in interface ListJobTemplatesResponseOrBuilder
    • getJobTemplatesOrBuilderList

      public List<? extends JobTemplateOrBuilder> getJobTemplatesOrBuilderList()
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
      Specified by:
      getJobTemplatesOrBuilderList in interface ListJobTemplatesResponseOrBuilder
    • addJobTemplatesBuilder

      public JobTemplate.Builder addJobTemplatesBuilder()
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • addJobTemplatesBuilder

      public JobTemplate.Builder addJobTemplatesBuilder(int index)
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • getJobTemplatesBuilderList

      public List<JobTemplate.Builder> getJobTemplatesBuilderList()
       List of job templates in the specified region.
       
      repeated .google.cloud.video.transcoder.v1.JobTemplate job_templates = 1;
    • getNextPageToken

      public String getNextPageToken()
       The pagination token.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListJobTemplatesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       The pagination token.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListJobTemplatesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListJobTemplatesResponse.Builder setNextPageToken(String value)
       The pagination token.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListJobTemplatesResponse.Builder clearNextPageToken()
       The pagination token.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListJobTemplatesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       The pagination token.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       List of regions that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListJobTemplatesResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       List of regions that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListJobTemplatesResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       List of regions that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListJobTemplatesResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       List of regions that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListJobTemplatesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListJobTemplatesResponse.Builder setUnreachable(int index, String value)
       List of regions that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListJobTemplatesResponse.Builder addUnreachable(String value)
       List of regions that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListJobTemplatesResponse.Builder addAllUnreachable(Iterable<String> values)
       List of regions that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListJobTemplatesResponse.Builder clearUnreachable()
       List of regions that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListJobTemplatesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       List of regions that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.