Class ListEvaluationJobsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListEvaluationJobsResponse.Builder>
com.google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse.Builder
All Implemented Interfaces:
ListEvaluationJobsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListEvaluationJobsResponse

public static final class ListEvaluationJobsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListEvaluationJobsResponse.Builder> implements ListEvaluationJobsResponseOrBuilder
 Results for listing evaluation jobs.
 
Protobuf type google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse
  • 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<ListEvaluationJobsResponse.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<ListEvaluationJobsResponse.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<ListEvaluationJobsResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public ListEvaluationJobsResponse.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<ListEvaluationJobsResponse.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<ListEvaluationJobsResponse.Builder>
    • mergeFrom

      public ListEvaluationJobsResponse.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<ListEvaluationJobsResponse.Builder>
      Throws:
      IOException
    • getEvaluationJobsList

      public List<EvaluationJob> getEvaluationJobsList()
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
      Specified by:
      getEvaluationJobsList in interface ListEvaluationJobsResponseOrBuilder
    • getEvaluationJobsCount

      public int getEvaluationJobsCount()
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
      Specified by:
      getEvaluationJobsCount in interface ListEvaluationJobsResponseOrBuilder
    • getEvaluationJobs

      public EvaluationJob getEvaluationJobs(int index)
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
      Specified by:
      getEvaluationJobs in interface ListEvaluationJobsResponseOrBuilder
    • setEvaluationJobs

      public ListEvaluationJobsResponse.Builder setEvaluationJobs(int index, EvaluationJob value)
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • setEvaluationJobs

      public ListEvaluationJobsResponse.Builder setEvaluationJobs(int index, EvaluationJob.Builder builderForValue)
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • addEvaluationJobs

      public ListEvaluationJobsResponse.Builder addEvaluationJobs(EvaluationJob value)
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • addEvaluationJobs

      public ListEvaluationJobsResponse.Builder addEvaluationJobs(int index, EvaluationJob value)
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • addEvaluationJobs

      public ListEvaluationJobsResponse.Builder addEvaluationJobs(EvaluationJob.Builder builderForValue)
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • addEvaluationJobs

      public ListEvaluationJobsResponse.Builder addEvaluationJobs(int index, EvaluationJob.Builder builderForValue)
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • addAllEvaluationJobs

      public ListEvaluationJobsResponse.Builder addAllEvaluationJobs(Iterable<? extends EvaluationJob> values)
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • clearEvaluationJobs

      public ListEvaluationJobsResponse.Builder clearEvaluationJobs()
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • removeEvaluationJobs

      public ListEvaluationJobsResponse.Builder removeEvaluationJobs(int index)
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • getEvaluationJobsBuilder

      public EvaluationJob.Builder getEvaluationJobsBuilder(int index)
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • getEvaluationJobsOrBuilder

      public EvaluationJobOrBuilder getEvaluationJobsOrBuilder(int index)
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
      Specified by:
      getEvaluationJobsOrBuilder in interface ListEvaluationJobsResponseOrBuilder
    • getEvaluationJobsOrBuilderList

      public List<? extends EvaluationJobOrBuilder> getEvaluationJobsOrBuilderList()
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
      Specified by:
      getEvaluationJobsOrBuilderList in interface ListEvaluationJobsResponseOrBuilder
    • addEvaluationJobsBuilder

      public EvaluationJob.Builder addEvaluationJobsBuilder()
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • addEvaluationJobsBuilder

      public EvaluationJob.Builder addEvaluationJobsBuilder(int index)
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • getEvaluationJobsBuilderList

      public List<EvaluationJob.Builder> getEvaluationJobsBuilderList()
       The list of evaluation jobs to return.
       
      repeated .google.cloud.datalabeling.v1beta1.EvaluationJob evaluation_jobs = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListEvaluationJobsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListEvaluationJobsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListEvaluationJobsResponse.Builder setNextPageToken(String value)
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListEvaluationJobsResponse.Builder clearNextPageToken()
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListEvaluationJobsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve next page of results.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.