Class ListSpecialistPoolsResponse.Builder

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

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

      public ListSpecialistPoolsResponse 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 ListSpecialistPoolsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ListSpecialistPoolsResponse.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<ListSpecialistPoolsResponse.Builder>
      Throws:
      IOException
    • getSpecialistPoolsList

      public List<SpecialistPool> getSpecialistPoolsList()
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
      Specified by:
      getSpecialistPoolsList in interface ListSpecialistPoolsResponseOrBuilder
    • getSpecialistPoolsCount

      public int getSpecialistPoolsCount()
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
      Specified by:
      getSpecialistPoolsCount in interface ListSpecialistPoolsResponseOrBuilder
    • getSpecialistPools

      public SpecialistPool getSpecialistPools(int index)
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
      Specified by:
      getSpecialistPools in interface ListSpecialistPoolsResponseOrBuilder
    • setSpecialistPools

      public ListSpecialistPoolsResponse.Builder setSpecialistPools(int index, SpecialistPool value)
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • setSpecialistPools

      public ListSpecialistPoolsResponse.Builder setSpecialistPools(int index, SpecialistPool.Builder builderForValue)
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • addSpecialistPools

      public ListSpecialistPoolsResponse.Builder addSpecialistPools(SpecialistPool value)
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • addSpecialistPools

      public ListSpecialistPoolsResponse.Builder addSpecialistPools(int index, SpecialistPool value)
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • addSpecialistPools

      public ListSpecialistPoolsResponse.Builder addSpecialistPools(SpecialistPool.Builder builderForValue)
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • addSpecialistPools

      public ListSpecialistPoolsResponse.Builder addSpecialistPools(int index, SpecialistPool.Builder builderForValue)
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • addAllSpecialistPools

      public ListSpecialistPoolsResponse.Builder addAllSpecialistPools(Iterable<? extends SpecialistPool> values)
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • clearSpecialistPools

      public ListSpecialistPoolsResponse.Builder clearSpecialistPools()
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • removeSpecialistPools

      public ListSpecialistPoolsResponse.Builder removeSpecialistPools(int index)
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • getSpecialistPoolsBuilder

      public SpecialistPool.Builder getSpecialistPoolsBuilder(int index)
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • getSpecialistPoolsOrBuilder

      public SpecialistPoolOrBuilder getSpecialistPoolsOrBuilder(int index)
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
      Specified by:
      getSpecialistPoolsOrBuilder in interface ListSpecialistPoolsResponseOrBuilder
    • getSpecialistPoolsOrBuilderList

      public List<? extends SpecialistPoolOrBuilder> getSpecialistPoolsOrBuilderList()
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
      Specified by:
      getSpecialistPoolsOrBuilderList in interface ListSpecialistPoolsResponseOrBuilder
    • addSpecialistPoolsBuilder

      public SpecialistPool.Builder addSpecialistPoolsBuilder()
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • addSpecialistPoolsBuilder

      public SpecialistPool.Builder addSpecialistPoolsBuilder(int index)
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • getSpecialistPoolsBuilderList

      public List<SpecialistPool.Builder> getSpecialistPoolsBuilderList()
       A list of SpecialistPools that matches the specified filter in the request.
       
      repeated .google.cloud.aiplatform.v1.SpecialistPool specialist_pools = 1;
    • getNextPageToken

      public String getNextPageToken()
       The standard List next-page token.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListSpecialistPoolsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       The standard List next-page token.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListSpecialistPoolsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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

      public ListSpecialistPoolsResponse.Builder clearNextPageToken()
       The standard List next-page token.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

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