Cloud AI Platform v1beta1 API - Class FeatureOnlineStoreService.FeatureOnlineStoreServiceBase (1.0.0-beta03)

[BindServiceMethod(typeof(FeatureOnlineStoreService), "BindService")]
public abstract class FeatureOnlineStoreService.FeatureOnlineStoreServiceBase

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class FeatureOnlineStoreService.FeatureOnlineStoreServiceBase.

Base class for server-side implementations of FeatureOnlineStoreService

Inheritance

object > FeatureOnlineStoreService.FeatureOnlineStoreServiceBase

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Methods

FetchFeatureValues(FetchFeatureValuesRequest, ServerCallContext)

public virtual Task<FetchFeatureValuesResponse> FetchFeatureValues(FetchFeatureValuesRequest request, ServerCallContext context)

Fetch feature values under a FeatureView.

Parameters
Name Description
request FetchFeatureValuesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskFetchFeatureValuesResponse

The response to send back to the client (wrapped by a task).

SearchNearestEntities(SearchNearestEntitiesRequest, ServerCallContext)

public virtual Task<SearchNearestEntitiesResponse> SearchNearestEntities(SearchNearestEntitiesRequest request, ServerCallContext context)

Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response.

Parameters
Name Description
request SearchNearestEntitiesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSearchNearestEntitiesResponse

The response to send back to the client (wrapped by a task).

StreamingFetchFeatureValues(IAsyncStreamReader<StreamingFetchFeatureValuesRequest>, IServerStreamWriter<StreamingFetchFeatureValuesResponse>, ServerCallContext)

public virtual Task StreamingFetchFeatureValues(IAsyncStreamReader<StreamingFetchFeatureValuesRequest> requestStream, IServerStreamWriter<StreamingFetchFeatureValuesResponse> responseStream, ServerCallContext context)

Bidirectional streaming RPC to fetch feature values under a FeatureView. Requests may not have a one-to-one mapping to responses and responses may be returned out-of-order to reduce latency.

Parameters
Name Description
requestStream IAsyncStreamReaderStreamingFetchFeatureValuesRequest

Used for reading requests from the client.

responseStream IServerStreamWriterStreamingFetchFeatureValuesResponse

Used for sending responses back to the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
Task

A task indicating completion of the handler.