Class 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.GeneratedMessageV3.Builder<SearchFeaturesResponse.Builder>
    implements SearchFeaturesResponseOrBuilder
     Response message for
     [FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1.FeaturestoreService.SearchFeatures].
     
    Protobuf type google.cloud.aiplatform.v1.SearchFeaturesResponse
    • 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<SearchFeaturesResponse.Builder>
      • clear

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

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

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

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

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

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

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

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

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