Class ListFeaturesResponse.Builder

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

public static final class ListFeaturesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListFeaturesResponse.Builder> implements ListFeaturesResponseOrBuilder
 Response message for
 [FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures].
 Response message for
 [FeatureRegistryService.ListFeatures][google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatures].
 
Protobuf type google.cloud.aiplatform.v1.ListFeaturesResponse
  • 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<ListFeaturesResponse.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<ListFeaturesResponse.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<ListFeaturesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListFeaturesResponse.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<ListFeaturesResponse.Builder>
      Throws:
      IOException
    • getFeaturesList

      public List<Feature> getFeaturesList()
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
      Specified by:
      getFeaturesList in interface ListFeaturesResponseOrBuilder
    • getFeaturesCount

      public int getFeaturesCount()
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
      Specified by:
      getFeaturesCount in interface ListFeaturesResponseOrBuilder
    • getFeatures

      public Feature getFeatures(int index)
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
      Specified by:
      getFeatures in interface ListFeaturesResponseOrBuilder
    • setFeatures

      public ListFeaturesResponse.Builder setFeatures(int index, Feature value)
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • setFeatures

      public ListFeaturesResponse.Builder setFeatures(int index, Feature.Builder builderForValue)
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • addFeatures

      public ListFeaturesResponse.Builder addFeatures(Feature value)
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • addFeatures

      public ListFeaturesResponse.Builder addFeatures(int index, Feature value)
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • addFeatures

      public ListFeaturesResponse.Builder addFeatures(Feature.Builder builderForValue)
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • addFeatures

      public ListFeaturesResponse.Builder addFeatures(int index, Feature.Builder builderForValue)
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • addAllFeatures

      public ListFeaturesResponse.Builder addAllFeatures(Iterable<? extends Feature> values)
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • clearFeatures

      public ListFeaturesResponse.Builder clearFeatures()
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • removeFeatures

      public ListFeaturesResponse.Builder removeFeatures(int index)
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • getFeaturesBuilder

      public Feature.Builder getFeaturesBuilder(int index)
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • getFeaturesOrBuilder

      public FeatureOrBuilder getFeaturesOrBuilder(int index)
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
      Specified by:
      getFeaturesOrBuilder in interface ListFeaturesResponseOrBuilder
    • getFeaturesOrBuilderList

      public List<? extends FeatureOrBuilder> getFeaturesOrBuilderList()
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
      Specified by:
      getFeaturesOrBuilderList in interface ListFeaturesResponseOrBuilder
    • addFeaturesBuilder

      public Feature.Builder addFeaturesBuilder()
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • addFeaturesBuilder

      public Feature.Builder addFeaturesBuilder(int index)
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • getFeaturesBuilderList

      public List<Feature.Builder> getFeaturesBuilderList()
       The Features matching the request.
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as
       [ListFeaturesRequest.page_token][google.cloud.aiplatform.v1.ListFeaturesRequest.page_token]
       to retrieve the next page. If this field is omitted, there are no
       subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListFeaturesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as
       [ListFeaturesRequest.page_token][google.cloud.aiplatform.v1.ListFeaturesRequest.page_token]
       to retrieve the next page. If this field is omitted, there are no
       subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListFeaturesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListFeaturesResponse.Builder setNextPageToken(String value)
       A token, which can be sent as
       [ListFeaturesRequest.page_token][google.cloud.aiplatform.v1.ListFeaturesRequest.page_token]
       to retrieve the next page. If this field is omitted, there are no
       subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListFeaturesResponse.Builder clearNextPageToken()
       A token, which can be sent as
       [ListFeaturesRequest.page_token][google.cloud.aiplatform.v1.ListFeaturesRequest.page_token]
       to retrieve the next page. If this field is omitted, there are no
       subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListFeaturesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as
       [ListFeaturesRequest.page_token][google.cloud.aiplatform.v1.ListFeaturesRequest.page_token]
       to retrieve the next page. If this field is omitted, there are no
       subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.