Class StreamingReadFeatureValuesRequest.Builder

    • 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<StreamingReadFeatureValuesRequest.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<StreamingReadFeatureValuesRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public String getEntityType()
         Required. The resource name of the entities' type.
         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 StreamingReadFeatureValuesRequestOrBuilder
        Returns:
        The entityType.
      • getEntityTypeBytes

        public com.google.protobuf.ByteString getEntityTypeBytes()
         Required. The resource name of the entities' type.
         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 StreamingReadFeatureValuesRequestOrBuilder
        Returns:
        The bytes for entityType.
      • setEntityType

        public StreamingReadFeatureValuesRequest.Builder setEntityType​(String value)
         Required. The resource name of the entities' type.
         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 StreamingReadFeatureValuesRequest.Builder clearEntityType()
         Required. The resource name of the entities' type.
         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 StreamingReadFeatureValuesRequest.Builder setEntityTypeBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the entities' type.
         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.
      • getEntityIdsList

        public com.google.protobuf.ProtocolStringList getEntityIdsList()
         Required. IDs of entities to read Feature values of. The maximum number of
         IDs is 100. For example, for a machine learning model predicting user
         clicks on a website, an entity ID could be `user_123`.
         
        repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityIdsList in interface StreamingReadFeatureValuesRequestOrBuilder
        Returns:
        A list containing the entityIds.
      • getEntityIdsCount

        public int getEntityIdsCount()
         Required. IDs of entities to read Feature values of. The maximum number of
         IDs is 100. For example, for a machine learning model predicting user
         clicks on a website, an entity ID could be `user_123`.
         
        repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityIdsCount in interface StreamingReadFeatureValuesRequestOrBuilder
        Returns:
        The count of entityIds.
      • getEntityIds

        public String getEntityIds​(int index)
         Required. IDs of entities to read Feature values of. The maximum number of
         IDs is 100. For example, for a machine learning model predicting user
         clicks on a website, an entity ID could be `user_123`.
         
        repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityIds in interface StreamingReadFeatureValuesRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The entityIds at the given index.
      • getEntityIdsBytes

        public com.google.protobuf.ByteString getEntityIdsBytes​(int index)
         Required. IDs of entities to read Feature values of. The maximum number of
         IDs is 100. For example, for a machine learning model predicting user
         clicks on a website, an entity ID could be `user_123`.
         
        repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityIdsBytes in interface StreamingReadFeatureValuesRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the entityIds at the given index.
      • setEntityIds

        public StreamingReadFeatureValuesRequest.Builder setEntityIds​(int index,
                                                                      String value)
         Required. IDs of entities to read Feature values of. The maximum number of
         IDs is 100. For example, for a machine learning model predicting user
         clicks on a website, an entity ID could be `user_123`.
         
        repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index to set the value at.
        value - The entityIds to set.
        Returns:
        This builder for chaining.
      • addEntityIds

        public StreamingReadFeatureValuesRequest.Builder addEntityIds​(String value)
         Required. IDs of entities to read Feature values of. The maximum number of
         IDs is 100. For example, for a machine learning model predicting user
         clicks on a website, an entity ID could be `user_123`.
         
        repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The entityIds to add.
        Returns:
        This builder for chaining.
      • addAllEntityIds

        public StreamingReadFeatureValuesRequest.Builder addAllEntityIds​(Iterable<String> values)
         Required. IDs of entities to read Feature values of. The maximum number of
         IDs is 100. For example, for a machine learning model predicting user
         clicks on a website, an entity ID could be `user_123`.
         
        repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        values - The entityIds to add.
        Returns:
        This builder for chaining.
      • clearEntityIds

        public StreamingReadFeatureValuesRequest.Builder clearEntityIds()
         Required. IDs of entities to read Feature values of. The maximum number of
         IDs is 100. For example, for a machine learning model predicting user
         clicks on a website, an entity ID could be `user_123`.
         
        repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • addEntityIdsBytes

        public StreamingReadFeatureValuesRequest.Builder addEntityIdsBytes​(com.google.protobuf.ByteString value)
         Required. IDs of entities to read Feature values of. The maximum number of
         IDs is 100. For example, for a machine learning model predicting user
         clicks on a website, an entity ID could be `user_123`.
         
        repeated string entity_ids = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes of the entityIds to add.
        Returns:
        This builder for chaining.
      • hasFeatureSelector

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

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

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

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

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

        public StreamingReadFeatureValuesRequest.Builder clearFeatureSelector()
         Required. Selector choosing Features of the target EntityType. Feature IDs
         will be deduplicated.
         
        .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. Feature IDs
         will be deduplicated.
         
        .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 3 [(.google.api.field_behavior) = REQUIRED];