Represents a FeatureOnlineStoreService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1.FeatureOnlineStoreServicePackage
@google-cloud/aiplatformConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new FeatureOnlineStoreService service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): FeatureOnlineStoreService;
Creates new FeatureOnlineStoreService service using the specified rpc implementation.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
FeatureOnlineStoreService | RPC service. Useful where requests and/or responses are streamed. |
fetchFeatureValues(request, callback)
public fetchFeatureValues(request: google.cloud.aiplatform.v1.IFetchFeatureValuesRequest, callback: google.cloud.aiplatform.v1.FeatureOnlineStoreService.FetchFeatureValuesCallback): void;
Calls FetchFeatureValues.
Parameters | |
---|---|
Name | Description |
request |
IFetchFeatureValuesRequest
FetchFeatureValuesRequest message or plain object |
callback |
FetchFeatureValuesCallback
Node-style callback called with the error, if any, and FetchFeatureValuesResponse |
Returns | |
---|---|
Type | Description |
void |
fetchFeatureValues(request)
public fetchFeatureValues(request: google.cloud.aiplatform.v1.IFetchFeatureValuesRequest): Promise<google.cloud.aiplatform.v1.FetchFeatureValuesResponse>;
Calls FetchFeatureValues.
Parameter | |
---|---|
Name | Description |
request |
IFetchFeatureValuesRequest
FetchFeatureValuesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1.FetchFeatureValuesResponse> | Promise |
searchNearestEntities(request, callback)
public searchNearestEntities(request: google.cloud.aiplatform.v1.ISearchNearestEntitiesRequest, callback: google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntitiesCallback): void;
Calls SearchNearestEntities.
Parameters | |
---|---|
Name | Description |
request |
ISearchNearestEntitiesRequest
SearchNearestEntitiesRequest message or plain object |
callback |
SearchNearestEntitiesCallback
Node-style callback called with the error, if any, and SearchNearestEntitiesResponse |
Returns | |
---|---|
Type | Description |
void |
searchNearestEntities(request)
public searchNearestEntities(request: google.cloud.aiplatform.v1.ISearchNearestEntitiesRequest): Promise<google.cloud.aiplatform.v1.SearchNearestEntitiesResponse>;
Calls SearchNearestEntities.
Parameter | |
---|---|
Name | Description |
request |
ISearchNearestEntitiesRequest
SearchNearestEntitiesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.aiplatform.v1.SearchNearestEntitiesResponse> | Promise |