Class ListCustomJobsResponse.Builder

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

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

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

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

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

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

      public ListCustomJobsResponse.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<ListCustomJobsResponse.Builder>
      Throws:
      IOException
    • getCustomJobsList

      public List<CustomJob> getCustomJobsList()
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
      Specified by:
      getCustomJobsList in interface ListCustomJobsResponseOrBuilder
    • getCustomJobsCount

      public int getCustomJobsCount()
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
      Specified by:
      getCustomJobsCount in interface ListCustomJobsResponseOrBuilder
    • getCustomJobs

      public CustomJob getCustomJobs(int index)
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
      Specified by:
      getCustomJobs in interface ListCustomJobsResponseOrBuilder
    • setCustomJobs

      public ListCustomJobsResponse.Builder setCustomJobs(int index, CustomJob value)
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • setCustomJobs

      public ListCustomJobsResponse.Builder setCustomJobs(int index, CustomJob.Builder builderForValue)
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • addCustomJobs

      public ListCustomJobsResponse.Builder addCustomJobs(CustomJob value)
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • addCustomJobs

      public ListCustomJobsResponse.Builder addCustomJobs(int index, CustomJob value)
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • addCustomJobs

      public ListCustomJobsResponse.Builder addCustomJobs(CustomJob.Builder builderForValue)
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • addCustomJobs

      public ListCustomJobsResponse.Builder addCustomJobs(int index, CustomJob.Builder builderForValue)
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • addAllCustomJobs

      public ListCustomJobsResponse.Builder addAllCustomJobs(Iterable<? extends CustomJob> values)
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • clearCustomJobs

      public ListCustomJobsResponse.Builder clearCustomJobs()
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • removeCustomJobs

      public ListCustomJobsResponse.Builder removeCustomJobs(int index)
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • getCustomJobsBuilder

      public CustomJob.Builder getCustomJobsBuilder(int index)
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • getCustomJobsOrBuilder

      public CustomJobOrBuilder getCustomJobsOrBuilder(int index)
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
      Specified by:
      getCustomJobsOrBuilder in interface ListCustomJobsResponseOrBuilder
    • getCustomJobsOrBuilderList

      public List<? extends CustomJobOrBuilder> getCustomJobsOrBuilderList()
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
      Specified by:
      getCustomJobsOrBuilderList in interface ListCustomJobsResponseOrBuilder
    • addCustomJobsBuilder

      public CustomJob.Builder addCustomJobsBuilder()
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • addCustomJobsBuilder

      public CustomJob.Builder addCustomJobsBuilder(int index)
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • getCustomJobsBuilderList

      public List<CustomJob.Builder> getCustomJobsBuilderList()
       List of CustomJobs in the requested page.
       
      repeated .google.cloud.aiplatform.v1.CustomJob custom_jobs = 1;
    • getNextPageToken

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

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

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

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

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