Class ListNasJobsResponse.Builder

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

public static final class ListNasJobsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListNasJobsResponse.Builder> implements ListNasJobsResponseOrBuilder
 Response message for
 [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
 
Protobuf type google.cloud.aiplatform.v1.ListNasJobsResponse
  • 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<ListNasJobsResponse.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<ListNasJobsResponse.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<ListNasJobsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListNasJobsResponse.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<ListNasJobsResponse.Builder>
      Throws:
      IOException
    • getNasJobsList

      public List<NasJob> getNasJobsList()
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
      Specified by:
      getNasJobsList in interface ListNasJobsResponseOrBuilder
    • getNasJobsCount

      public int getNasJobsCount()
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
      Specified by:
      getNasJobsCount in interface ListNasJobsResponseOrBuilder
    • getNasJobs

      public NasJob getNasJobs(int index)
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
      Specified by:
      getNasJobs in interface ListNasJobsResponseOrBuilder
    • setNasJobs

      public ListNasJobsResponse.Builder setNasJobs(int index, NasJob value)
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • setNasJobs

      public ListNasJobsResponse.Builder setNasJobs(int index, NasJob.Builder builderForValue)
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • addNasJobs

      public ListNasJobsResponse.Builder addNasJobs(NasJob value)
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • addNasJobs

      public ListNasJobsResponse.Builder addNasJobs(int index, NasJob value)
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • addNasJobs

      public ListNasJobsResponse.Builder addNasJobs(NasJob.Builder builderForValue)
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • addNasJobs

      public ListNasJobsResponse.Builder addNasJobs(int index, NasJob.Builder builderForValue)
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • addAllNasJobs

      public ListNasJobsResponse.Builder addAllNasJobs(Iterable<? extends NasJob> values)
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • clearNasJobs

      public ListNasJobsResponse.Builder clearNasJobs()
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • removeNasJobs

      public ListNasJobsResponse.Builder removeNasJobs(int index)
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • getNasJobsBuilder

      public NasJob.Builder getNasJobsBuilder(int index)
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • getNasJobsOrBuilder

      public NasJobOrBuilder getNasJobsOrBuilder(int index)
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
      Specified by:
      getNasJobsOrBuilder in interface ListNasJobsResponseOrBuilder
    • getNasJobsOrBuilderList

      public List<? extends NasJobOrBuilder> getNasJobsOrBuilderList()
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
      Specified by:
      getNasJobsOrBuilderList in interface ListNasJobsResponseOrBuilder
    • addNasJobsBuilder

      public NasJob.Builder addNasJobsBuilder()
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • addNasJobsBuilder

      public NasJob.Builder addNasJobsBuilder(int index)
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • getNasJobsBuilderList

      public List<NasJob.Builder> getNasJobsBuilderList()
       List of NasJobs in the requested page.
       [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
       of the jobs will not be returned.
       
      repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve the next page of results.
       Pass to
       [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListNasJobsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve the next page of results.
       Pass to
       [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListNasJobsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListNasJobsResponse.Builder setNextPageToken(String value)
       A token to retrieve the next page of results.
       Pass to
       [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListNasJobsResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results.
       Pass to
       [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListNasJobsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve the next page of results.
       Pass to
       [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.