Class PredictionApiKeyRegistryGrpc
- java.lang.Object
-
- com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.proto") public final class PredictionApiKeyRegistryGrpc extends Object
Service for registering API keys for use with the `predict` method. If you use an API key to request predictions, you must first register the API key. Otherwise, your prediction request is rejected. If you use OAuth to authenticate your `predict` method call, you do not need to register an API key. You can register up to 20 API keys per project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PredictionApiKeyRegistryGrpc.AsyncService
Service for registering API keys for use with the `predict` method.static class
PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryBlockingStub
A stub to allow clients to do synchronous rpc calls to service PredictionApiKeyRegistry.static class
PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service PredictionApiKeyRegistry.static class
PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryImplBase
Base class for the server implementation of the service PredictionApiKeyRegistry.static class
PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryStub
A stub to allow clients to do asynchronous rpc calls to service PredictionApiKeyRegistry.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreatePredictionApiKeyRegistrationMethod
public static io.grpc.MethodDescriptor<CreatePredictionApiKeyRegistrationRequest,PredictionApiKeyRegistration> getCreatePredictionApiKeyRegistrationMethod()
-
getListPredictionApiKeyRegistrationsMethod
public static io.grpc.MethodDescriptor<ListPredictionApiKeyRegistrationsRequest,ListPredictionApiKeyRegistrationsResponse> getListPredictionApiKeyRegistrationsMethod()
-
getDeletePredictionApiKeyRegistrationMethod
public static io.grpc.MethodDescriptor<DeletePredictionApiKeyRegistrationRequest,com.google.protobuf.Empty> getDeletePredictionApiKeyRegistrationMethod()
-
newStub
public static PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(PredictionApiKeyRegistryGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-