Class PredictionServiceGrpc
- java.lang.Object
-
- com.google.cloud.aiplatform.v1beta1.PredictionServiceGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/aiplatform/v1beta1/prediction_service.proto") public final class PredictionServiceGrpc extends Object
A service for online predictions and explanations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePredictionServiceGrpc.AsyncServiceA service for online predictions and explanations.static classPredictionServiceGrpc.PredictionServiceBlockingStubA stub to allow clients to do synchronous rpc calls to service PredictionService.static classPredictionServiceGrpc.PredictionServiceFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service PredictionService.static classPredictionServiceGrpc.PredictionServiceImplBaseBase class for the server implementation of the service PredictionService.static classPredictionServiceGrpc.PredictionServiceStubA stub to allow clients to do asynchronous rpc calls to service PredictionService.
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(PredictionServiceGrpc.AsyncService service)static io.grpc.MethodDescriptor<CountTokensRequest,CountTokensResponse>getCountTokensMethod()static io.grpc.MethodDescriptor<ExplainRequest,ExplainResponse>getExplainMethod()static io.grpc.MethodDescriptor<PredictRequest,PredictResponse>getPredictMethod()static io.grpc.MethodDescriptor<RawPredictRequest,com.google.api.HttpBody>getRawPredictMethod()static io.grpc.MethodDescriptor<StreamingPredictRequest,StreamingPredictResponse>getServerStreamingPredictMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static PredictionServiceGrpc.PredictionServiceBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic PredictionServiceGrpc.PredictionServiceFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic PredictionServiceGrpc.PredictionServiceStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPredictMethod
public static io.grpc.MethodDescriptor<PredictRequest,PredictResponse> getPredictMethod()
-
getRawPredictMethod
public static io.grpc.MethodDescriptor<RawPredictRequest,com.google.api.HttpBody> getRawPredictMethod()
-
getServerStreamingPredictMethod
public static io.grpc.MethodDescriptor<StreamingPredictRequest,StreamingPredictResponse> getServerStreamingPredictMethod()
-
getExplainMethod
public static io.grpc.MethodDescriptor<ExplainRequest,ExplainResponse> getExplainMethod()
-
getCountTokensMethod
public static io.grpc.MethodDescriptor<CountTokensRequest,CountTokensResponse> getCountTokensMethod()
-
newStub
public static PredictionServiceGrpc.PredictionServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static PredictionServiceGrpc.PredictionServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static PredictionServiceGrpc.PredictionServiceFutureStub 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(PredictionServiceGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-