Class ReadFeatureValuesRequest.Builder

  • All Implemented Interfaces:
    ReadFeatureValuesRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ReadFeatureValuesRequest

    public static final class ReadFeatureValuesRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ReadFeatureValuesRequest.Builder>
    implements ReadFeatureValuesRequestOrBuilder
     Request message for
     [FeaturestoreOnlineServingService.ReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.ReadFeatureValues].
     
    Protobuf type google.cloud.aiplatform.v1.ReadFeatureValuesRequest
    • 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<ReadFeatureValuesRequest.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<ReadFeatureValuesRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ReadFeatureValuesRequest.Builder>
      • mergeFrom

        public ReadFeatureValuesRequest.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<ReadFeatureValuesRequest.Builder>
        Throws:
        IOException
      • getEntityType

        public String getEntityType()
         Required. The resource name of the EntityType for the entity being read.
         Value format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
         For example, for a machine learning model predicting user clicks on a
         website, an EntityType ID could be `user`.
         
        string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getEntityType in interface ReadFeatureValuesRequestOrBuilder
        Returns:
        The entityType.
      • getEntityTypeBytes

        public com.google.protobuf.ByteString getEntityTypeBytes()
         Required. The resource name of the EntityType for the entity being read.
         Value format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
         For example, for a machine learning model predicting user clicks on a
         website, an EntityType ID could be `user`.
         
        string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getEntityTypeBytes in interface ReadFeatureValuesRequestOrBuilder
        Returns:
        The bytes for entityType.
      • setEntityType

        public ReadFeatureValuesRequest.Builder setEntityType​(String value)
         Required. The resource name of the EntityType for the entity being read.
         Value format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
         For example, for a machine learning model predicting user clicks on a
         website, an EntityType ID could be `user`.
         
        string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The entityType to set.
        Returns:
        This builder for chaining.
      • clearEntityType

        public ReadFeatureValuesRequest.Builder clearEntityType()
         Required. The resource name of the EntityType for the entity being read.
         Value format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
         For example, for a machine learning model predicting user clicks on a
         website, an EntityType ID could be `user`.
         
        string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setEntityTypeBytes

        public ReadFeatureValuesRequest.Builder setEntityTypeBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the EntityType for the entity being read.
         Value format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
         For example, for a machine learning model predicting user clicks on a
         website, an EntityType ID could be `user`.
         
        string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for entityType to set.
        Returns:
        This builder for chaining.
      • getEntityId

        public String getEntityId()
         Required. ID for a specific entity. For example,
         for a machine learning model predicting user clicks on a website, an entity
         ID could be `user_123`.
         
        string entity_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityId in interface ReadFeatureValuesRequestOrBuilder
        Returns:
        The entityId.
      • getEntityIdBytes

        public com.google.protobuf.ByteString getEntityIdBytes()
         Required. ID for a specific entity. For example,
         for a machine learning model predicting user clicks on a website, an entity
         ID could be `user_123`.
         
        string entity_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityIdBytes in interface ReadFeatureValuesRequestOrBuilder
        Returns:
        The bytes for entityId.
      • setEntityId

        public ReadFeatureValuesRequest.Builder setEntityId​(String value)
         Required. ID for a specific entity. For example,
         for a machine learning model predicting user clicks on a website, an entity
         ID could be `user_123`.
         
        string entity_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The entityId to set.
        Returns:
        This builder for chaining.
      • clearEntityId

        public ReadFeatureValuesRequest.Builder clearEntityId()
         Required. ID for a specific entity. For example,
         for a machine learning model predicting user clicks on a website, an entity
         ID could be `user_123`.
         
        string entity_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setEntityIdBytes

        public ReadFeatureValuesRequest.Builder setEntityIdBytes​(com.google.protobuf.ByteString value)
         Required. ID for a specific entity. For example,
         for a machine learning model predicting user clicks on a website, an entity
         ID could be `user_123`.
         
        string entity_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for entityId to set.
        Returns:
        This builder for chaining.
      • hasFeatureSelector

        public boolean hasFeatureSelector()
         Required. Selector choosing Features of the target EntityType.
         
        .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasFeatureSelector in interface ReadFeatureValuesRequestOrBuilder
        Returns:
        Whether the featureSelector field is set.
      • getFeatureSelector

        public FeatureSelector getFeatureSelector()
         Required. Selector choosing Features of the target EntityType.
         
        .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFeatureSelector in interface ReadFeatureValuesRequestOrBuilder
        Returns:
        The featureSelector.
      • setFeatureSelector

        public ReadFeatureValuesRequest.Builder setFeatureSelector​(FeatureSelector value)
         Required. Selector choosing Features of the target EntityType.
         
        .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
      • setFeatureSelector

        public ReadFeatureValuesRequest.Builder setFeatureSelector​(FeatureSelector.Builder builderForValue)
         Required. Selector choosing Features of the target EntityType.
         
        .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeFeatureSelector

        public ReadFeatureValuesRequest.Builder mergeFeatureSelector​(FeatureSelector value)
         Required. Selector choosing Features of the target EntityType.
         
        .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearFeatureSelector

        public ReadFeatureValuesRequest.Builder clearFeatureSelector()
         Required. Selector choosing Features of the target EntityType.
         
        .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
      • getFeatureSelectorBuilder

        public FeatureSelector.Builder getFeatureSelectorBuilder()
         Required. Selector choosing Features of the target EntityType.
         
        .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];
      • setUnknownFields

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

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