Package com.google.longrunning
Class OperationsGrpc
- java.lang.Object
-
- com.google.longrunning.OperationsGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/longrunning/operations.proto") public final class OperationsGrpc extends Object
Manages long-running operations with an API service. When an API method normally takes long time to complete, it can be designed to return [Operation][google.longrunning.Operation] to the client, and the client can use this interface to receive the real response asynchronously by polling the operation resource, or pass the operation resource to another API (such as Google Cloud Pub/Sub API) to receive the response. Any API service that returns long-running operations should implement the `Operations` interface so developers can have a consistent client experience.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationsGrpc.OperationsBlockingStubManages long-running operations with an API service.static classOperationsGrpc.OperationsFutureStubManages long-running operations with an API service.static classOperationsGrpc.OperationsImplBaseManages long-running operations with an API service.static classOperationsGrpc.OperationsStubManages long-running operations with an API service.
-
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.MethodDescriptor<CancelOperationRequest,com.google.protobuf.Empty>getCancelOperationMethod()static io.grpc.MethodDescriptor<DeleteOperationRequest,com.google.protobuf.Empty>getDeleteOperationMethod()static io.grpc.MethodDescriptor<GetOperationRequest,Operation>getGetOperationMethod()static io.grpc.MethodDescriptor<ListOperationsRequest,ListOperationsResponse>getListOperationsMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<WaitOperationRequest,Operation>getWaitOperationMethod()static OperationsGrpc.OperationsBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic OperationsGrpc.OperationsFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic OperationsGrpc.OperationsStubnewStub(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
-
getListOperationsMethod
public static io.grpc.MethodDescriptor<ListOperationsRequest,ListOperationsResponse> getListOperationsMethod()
-
getGetOperationMethod
public static io.grpc.MethodDescriptor<GetOperationRequest,Operation> getGetOperationMethod()
-
getDeleteOperationMethod
public static io.grpc.MethodDescriptor<DeleteOperationRequest,com.google.protobuf.Empty> getDeleteOperationMethod()
-
getCancelOperationMethod
public static io.grpc.MethodDescriptor<CancelOperationRequest,com.google.protobuf.Empty> getCancelOperationMethod()
-
getWaitOperationMethod
public static io.grpc.MethodDescriptor<WaitOperationRequest,Operation> getWaitOperationMethod()
-
newStub
public static OperationsGrpc.OperationsStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static OperationsGrpc.OperationsBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static OperationsGrpc.OperationsFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-