Class FeaturestoreServiceGrpc.FeaturestoreServiceBlockingStub (3.40.0)

public static final class FeaturestoreServiceGrpc.FeaturestoreServiceBlockingStub extends AbstractBlockingStub<FeaturestoreServiceGrpc.FeaturestoreServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service FeaturestoreService.

The service that handles CRUD and List for resources for Featurestore.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > FeaturestoreServiceGrpc.FeaturestoreServiceBlockingStub

Methods

batchCreateFeatures(BatchCreateFeaturesRequest request)

public Operation batchCreateFeatures(BatchCreateFeaturesRequest request)

Creates a batch of Features in a given EntityType.

Parameter
NameDescription
requestBatchCreateFeaturesRequest
Returns
TypeDescription
Operation

batchReadFeatureValues(BatchReadFeatureValuesRequest request)

public Operation batchReadFeatureValues(BatchReadFeatureValuesRequest request)

Batch reads Feature values from a Featurestore. This API enables batch reading Feature values, where each read instance in the batch may read Feature values of entities from one or more EntityTypes. Point-in-time correctness is guaranteed for Feature values of each read instance as of each instance's read timestamp.

Parameter
NameDescription
requestBatchReadFeatureValuesRequest
Returns
TypeDescription
Operation

build(Channel channel, CallOptions callOptions)

protected FeaturestoreServiceGrpc.FeaturestoreServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
FeaturestoreServiceGrpc.FeaturestoreServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createEntityType(CreateEntityTypeRequest request)

public Operation createEntityType(CreateEntityTypeRequest request)

Creates a new EntityType in a given Featurestore.

Parameter
NameDescription
requestCreateEntityTypeRequest
Returns
TypeDescription
Operation

createFeature(CreateFeatureRequest request)

public Operation createFeature(CreateFeatureRequest request)

Creates a new Feature in a given EntityType.

Parameter
NameDescription
requestCreateFeatureRequest
Returns
TypeDescription
Operation

createFeaturestore(CreateFeaturestoreRequest request)

public Operation createFeaturestore(CreateFeaturestoreRequest request)

Creates a new Featurestore in a given project and location.

Parameter
NameDescription
requestCreateFeaturestoreRequest
Returns
TypeDescription
Operation

deleteEntityType(DeleteEntityTypeRequest request)

public Operation deleteEntityType(DeleteEntityTypeRequest request)

Deletes a single EntityType. The EntityType must not have any Features or force must be set to true for the request to succeed.

Parameter
NameDescription
requestDeleteEntityTypeRequest
Returns
TypeDescription
Operation

deleteFeature(DeleteFeatureRequest request)

public Operation deleteFeature(DeleteFeatureRequest request)

Deletes a single Feature.

Parameter
NameDescription
requestDeleteFeatureRequest
Returns
TypeDescription
Operation

deleteFeatureValues(DeleteFeatureValuesRequest request)

public Operation deleteFeatureValues(DeleteFeatureValuesRequest request)

Delete Feature values from Featurestore. The progress of the deletion is tracked by the returned operation. The deleted feature values are guaranteed to be invisible to subsequent read operations after the operation is marked as successfully done. If a delete feature values operation fails, the feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same delete request again and wait till the new operation returned is marked as successfully done.

Parameter
NameDescription
requestDeleteFeatureValuesRequest
Returns
TypeDescription
Operation

deleteFeaturestore(DeleteFeaturestoreRequest request)

public Operation deleteFeaturestore(DeleteFeaturestoreRequest request)

Deletes a single Featurestore. The Featurestore must not contain any EntityTypes or force must be set to true for the request to succeed.

Parameter
NameDescription
requestDeleteFeaturestoreRequest
Returns
TypeDescription
Operation

exportFeatureValues(ExportFeatureValuesRequest request)

public Operation exportFeatureValues(ExportFeatureValuesRequest request)

Exports Feature values from all the entities of a target EntityType.

Parameter
NameDescription
requestExportFeatureValuesRequest
Returns
TypeDescription
Operation

getEntityType(GetEntityTypeRequest request)

public EntityType getEntityType(GetEntityTypeRequest request)

Gets details of a single EntityType.

Parameter
NameDescription
requestGetEntityTypeRequest
Returns
TypeDescription
EntityType

getFeature(GetFeatureRequest request)

public Feature getFeature(GetFeatureRequest request)

Gets details of a single Feature.

Parameter
NameDescription
requestGetFeatureRequest
Returns
TypeDescription
Feature

getFeaturestore(GetFeaturestoreRequest request)

public Featurestore getFeaturestore(GetFeaturestoreRequest request)

Gets details of a single Featurestore.

Parameter
NameDescription
requestGetFeaturestoreRequest
Returns
TypeDescription
Featurestore

importFeatureValues(ImportFeatureValuesRequest request)

public Operation importFeatureValues(ImportFeatureValuesRequest request)

Imports Feature values into the Featurestore from a source storage. The progress of the import is tracked by the returned operation. The imported features are guaranteed to be visible to subsequent read operations after the operation is marked as successfully done. If an import operation fails, the Feature values returned from reads and exports may be inconsistent. If consistency is required, the caller must retry the same import request again and wait till the new operation returned is marked as successfully done. There are also scenarios where the caller can cause inconsistency.

  • Source data for import contains multiple distinct Feature values for the same entity ID and timestamp.
  • Source is modified during an import. This includes adding, updating, or removing source data and/or metadata. Examples of updating metadata include but are not limited to changing storage location, storage class, or retention policy.
  • Online serving cluster is under-provisioned.
Parameter
NameDescription
requestImportFeatureValuesRequest
Returns
TypeDescription
Operation

listEntityTypes(ListEntityTypesRequest request)

public ListEntityTypesResponse listEntityTypes(ListEntityTypesRequest request)

Lists EntityTypes in a given Featurestore.

Parameter
NameDescription
requestListEntityTypesRequest
Returns
TypeDescription
ListEntityTypesResponse

listFeatures(ListFeaturesRequest request)

public ListFeaturesResponse listFeatures(ListFeaturesRequest request)

Lists Features in a given EntityType.

Parameter
NameDescription
requestListFeaturesRequest
Returns
TypeDescription
ListFeaturesResponse

listFeaturestores(ListFeaturestoresRequest request)

public ListFeaturestoresResponse listFeaturestores(ListFeaturestoresRequest request)

Lists Featurestores in a given project and location.

Parameter
NameDescription
requestListFeaturestoresRequest
Returns
TypeDescription
ListFeaturestoresResponse

searchFeatures(SearchFeaturesRequest request)

public SearchFeaturesResponse searchFeatures(SearchFeaturesRequest request)

Searches Features matching a query in a given project.

Parameter
NameDescription
requestSearchFeaturesRequest
Returns
TypeDescription
SearchFeaturesResponse

updateEntityType(UpdateEntityTypeRequest request)

public EntityType updateEntityType(UpdateEntityTypeRequest request)

Updates the parameters of a single EntityType.

Parameter
NameDescription
requestUpdateEntityTypeRequest
Returns
TypeDescription
EntityType

updateFeature(UpdateFeatureRequest request)

public Feature updateFeature(UpdateFeatureRequest request)

Updates the parameters of a single Feature.

Parameter
NameDescription
requestUpdateFeatureRequest
Returns
TypeDescription
Feature

updateFeaturestore(UpdateFeaturestoreRequest request)

public Operation updateFeaturestore(UpdateFeaturestoreRequest request)

Updates the parameters of a single Featurestore.

Parameter
NameDescription
requestUpdateFeaturestoreRequest
Returns
TypeDescription
Operation