Class FeaturestoreServiceGrpc.FeaturestoreServiceBlockingStub (3.44.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
Name Description
request BatchCreateFeaturesRequest
Returns
Type Description
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
Name Description
request BatchReadFeatureValuesRequest
Returns
Type Description
Operation

build(Channel channel, CallOptions callOptions)

protected FeaturestoreServiceGrpc.FeaturestoreServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateEntityTypeRequest
Returns
Type Description
Operation

createFeature(CreateFeatureRequest request)

public Operation createFeature(CreateFeatureRequest request)

Creates a new Feature in a given EntityType.

Parameter
Name Description
request CreateFeatureRequest
Returns
Type Description
Operation

createFeaturestore(CreateFeaturestoreRequest request)

public Operation createFeaturestore(CreateFeaturestoreRequest request)

Creates a new Featurestore in a given project and location.

Parameter
Name Description
request CreateFeaturestoreRequest
Returns
Type Description
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
Name Description
request DeleteEntityTypeRequest
Returns
Type Description
Operation

deleteFeature(DeleteFeatureRequest request)

public Operation deleteFeature(DeleteFeatureRequest request)

Deletes a single Feature.

Parameter
Name Description
request DeleteFeatureRequest
Returns
Type Description
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
Name Description
request DeleteFeatureValuesRequest
Returns
Type Description
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
Name Description
request DeleteFeaturestoreRequest
Returns
Type Description
Operation

exportFeatureValues(ExportFeatureValuesRequest request)

public Operation exportFeatureValues(ExportFeatureValuesRequest request)

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

Parameter
Name Description
request ExportFeatureValuesRequest
Returns
Type Description
Operation

getEntityType(GetEntityTypeRequest request)

public EntityType getEntityType(GetEntityTypeRequest request)

Gets details of a single EntityType.

Parameter
Name Description
request GetEntityTypeRequest
Returns
Type Description
EntityType

getFeature(GetFeatureRequest request)

public Feature getFeature(GetFeatureRequest request)

Gets details of a single Feature.

Parameter
Name Description
request GetFeatureRequest
Returns
Type Description
Feature

getFeaturestore(GetFeaturestoreRequest request)

public Featurestore getFeaturestore(GetFeaturestoreRequest request)

Gets details of a single Featurestore.

Parameter
Name Description
request GetFeaturestoreRequest
Returns
Type Description
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
Name Description
request ImportFeatureValuesRequest
Returns
Type Description
Operation

listEntityTypes(ListEntityTypesRequest request)

public ListEntityTypesResponse listEntityTypes(ListEntityTypesRequest request)

Lists EntityTypes in a given Featurestore.

Parameter
Name Description
request ListEntityTypesRequest
Returns
Type Description
ListEntityTypesResponse

listFeatures(ListFeaturesRequest request)

public ListFeaturesResponse listFeatures(ListFeaturesRequest request)

Lists Features in a given EntityType.

Parameter
Name Description
request ListFeaturesRequest
Returns
Type Description
ListFeaturesResponse

listFeaturestores(ListFeaturestoresRequest request)

public ListFeaturestoresResponse listFeaturestores(ListFeaturestoresRequest request)

Lists Featurestores in a given project and location.

Parameter
Name Description
request ListFeaturestoresRequest
Returns
Type Description
ListFeaturestoresResponse

searchFeatures(SearchFeaturesRequest request)

public SearchFeaturesResponse searchFeatures(SearchFeaturesRequest request)

Searches Features matching a query in a given project.

Parameter
Name Description
request SearchFeaturesRequest
Returns
Type Description
SearchFeaturesResponse

updateEntityType(UpdateEntityTypeRequest request)

public EntityType updateEntityType(UpdateEntityTypeRequest request)

Updates the parameters of a single EntityType.

Parameter
Name Description
request UpdateEntityTypeRequest
Returns
Type Description
EntityType

updateFeature(UpdateFeatureRequest request)

public Feature updateFeature(UpdateFeatureRequest request)

Updates the parameters of a single Feature.

Parameter
Name Description
request UpdateFeatureRequest
Returns
Type Description
Feature

updateFeaturestore(UpdateFeaturestoreRequest request)

public Operation updateFeaturestore(UpdateFeaturestoreRequest request)

Updates the parameters of a single Featurestore.

Parameter
Name Description
request UpdateFeaturestoreRequest
Returns
Type Description
Operation