Class PredictionApiKeyRegistryGrpc
java.lang.Object
com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryGrpc
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 ClassesModifier and TypeClassDescriptionstatic interfaceService for registering API keys for use with the `predict` method.static final classA stub to allow clients to do limited synchronous rpc calls to service PredictionApiKeyRegistry.static final classA stub to allow clients to do synchronous rpc calls to service PredictionApiKeyRegistry.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service PredictionApiKeyRegistry.static classBase class for the server implementation of the service PredictionApiKeyRegistry.static final classA stub to allow clients to do asynchronous rpc calls to service PredictionApiKeyRegistry. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<CreatePredictionApiKeyRegistrationRequest,PredictionApiKeyRegistration> static io.grpc.MethodDescriptor<DeletePredictionApiKeyRegistrationRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<ListPredictionApiKeyRegistrationsRequest,ListPredictionApiKeyRegistrationsResponse> static io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
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 -
newBlockingV2Stub
public static PredictionApiKeyRegistryGrpc.PredictionApiKeyRegistryBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on 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()
-