Class SearchFeaturesResponse.Builder

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

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

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

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

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

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

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

      public List<Feature> getFeaturesList()
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
      Specified by:
      getFeaturesList in interface SearchFeaturesResponseOrBuilder
    • getFeaturesCount

      public int getFeaturesCount()
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
      Specified by:
      getFeaturesCount in interface SearchFeaturesResponseOrBuilder
    • getFeatures

      public Feature getFeatures(int index)
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
      Specified by:
      getFeatures in interface SearchFeaturesResponseOrBuilder
    • setFeatures

      public SearchFeaturesResponse.Builder setFeatures(int index, Feature value)
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • setFeatures

      public SearchFeaturesResponse.Builder setFeatures(int index, Feature.Builder builderForValue)
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • addFeatures

      public SearchFeaturesResponse.Builder addFeatures(Feature value)
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • addFeatures

      public SearchFeaturesResponse.Builder addFeatures(int index, Feature value)
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • addFeatures

      public SearchFeaturesResponse.Builder addFeatures(Feature.Builder builderForValue)
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • addFeatures

      public SearchFeaturesResponse.Builder addFeatures(int index, Feature.Builder builderForValue)
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • addAllFeatures

      public SearchFeaturesResponse.Builder addAllFeatures(Iterable<? extends Feature> values)
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • clearFeatures

      public SearchFeaturesResponse.Builder clearFeatures()
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • removeFeatures

      public SearchFeaturesResponse.Builder removeFeatures(int index)
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • getFeaturesBuilder

      public Feature.Builder getFeaturesBuilder(int index)
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • getFeaturesOrBuilder

      public FeatureOrBuilder getFeaturesOrBuilder(int index)
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
      Specified by:
      getFeaturesOrBuilder in interface SearchFeaturesResponseOrBuilder
    • getFeaturesOrBuilderList

      public List<? extends FeatureOrBuilder> getFeaturesOrBuilderList()
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
      Specified by:
      getFeaturesOrBuilderList in interface SearchFeaturesResponseOrBuilder
    • addFeaturesBuilder

      public Feature.Builder addFeaturesBuilder()
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • addFeaturesBuilder

      public Feature.Builder addFeaturesBuilder(int index)
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • getFeaturesBuilderList

      public List<Feature.Builder> getFeaturesBuilderList()
       The Features matching the request.
      
       Fields returned:
      
       * `name`
       * `description`
       * `labels`
       * `create_time`
       * `update_time`
       
      repeated .google.cloud.aiplatform.v1.Feature features = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as
       [SearchFeaturesRequest.page_token][google.cloud.aiplatform.v1.SearchFeaturesRequest.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 SearchFeaturesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as
       [SearchFeaturesRequest.page_token][google.cloud.aiplatform.v1.SearchFeaturesRequest.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 SearchFeaturesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public SearchFeaturesResponse.Builder setNextPageToken(String value)
       A token, which can be sent as
       [SearchFeaturesRequest.page_token][google.cloud.aiplatform.v1.SearchFeaturesRequest.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 SearchFeaturesResponse.Builder clearNextPageToken()
       A token, which can be sent as
       [SearchFeaturesRequest.page_token][google.cloud.aiplatform.v1.SearchFeaturesRequest.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 SearchFeaturesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as
       [SearchFeaturesRequest.page_token][google.cloud.aiplatform.v1.SearchFeaturesRequest.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.