[BindServiceMethod(typeof(FeatureOnlineStoreService), "BindService")]
public abstract class FeatureOnlineStoreService.FeatureOnlineStoreServiceBaseReference documentation and code samples for the Vertex AI v1beta1 API class FeatureOnlineStoreService.FeatureOnlineStoreServiceBase.
Base class for server-side implementations of FeatureOnlineStoreService
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Methods
FeatureViewDirectWrite(IAsyncStreamReader<FeatureViewDirectWriteRequest>, IServerStreamWriter<FeatureViewDirectWriteResponse>, ServerCallContext)
public virtual Task FeatureViewDirectWrite(IAsyncStreamReader<FeatureViewDirectWriteRequest> requestStream, IServerStreamWriter<FeatureViewDirectWriteResponse> responseStream, ServerCallContext context)Bidirectional streaming RPC to directly write to feature values in a feature view. 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 |
IAsyncStreamReaderFeatureViewDirectWriteRequestUsed for reading requests from the client. |
responseStream |
IServerStreamWriterFeatureViewDirectWriteResponseUsed for sending responses back to the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task |
A task indicating completion of the handler. |
FetchFeatureValues(FetchFeatureValuesRequest, ServerCallContext)
public virtual Task<FetchFeatureValuesResponse> FetchFeatureValues(FetchFeatureValuesRequest request, ServerCallContext context)Fetch feature values under a FeatureView.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFeatureValuesRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
GenerateFetchAccessToken(GenerateFetchAccessTokenRequest, ServerCallContext)
public virtual Task<GenerateFetchAccessTokenResponse> GenerateFetchAccessToken(GenerateFetchAccessTokenRequest request, ServerCallContext context)RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateFetchAccessTokenRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateFetchAccessTokenResponse |
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 |
SearchNearestEntitiesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
IAsyncStreamReaderStreamingFetchFeatureValuesRequestUsed for reading requests from the client. |
responseStream |
IServerStreamWriterStreamingFetchFeatureValuesResponseUsed for sending responses back to the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task |
A task indicating completion of the handler. |