Class 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.GeneratedMessageV3.Builder<ListNasJobsResponse.Builder>
    implements ListNasJobsResponseOrBuilder
     Response message for
     [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
     
    Protobuf type google.cloud.aiplatform.v1.ListNasJobsResponse
    • Method Detail

      • getDescriptor

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

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public ListNasJobsResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListNasJobsResponse.Builder>
      • setField

        public ListNasJobsResponse.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNasJobsResponse.Builder>
      • clearField

        public ListNasJobsResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNasJobsResponse.Builder>
      • clearOneof

        public ListNasJobsResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListNasJobsResponse.Builder>
      • setRepeatedField

        public ListNasJobsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNasJobsResponse.Builder>
      • addRepeatedField

        public ListNasJobsResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNasJobsResponse.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • setUnknownFields

        public final ListNasJobsResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListNasJobsResponse.Builder>
      • mergeUnknownFields

        public final ListNasJobsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListNasJobsResponse.Builder>