@Generated(value="by gRPC proto compiler (version 1.10.0)",
comments="Source: google/longrunning/operations.proto")
public final class OperationsGrpc
extends java.lang.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.
Modifier and Type | Class and Description |
---|---|
static class |
OperationsGrpc.OperationsBlockingStub
Manages long-running operations with an API service.
|
static class |
OperationsGrpc.OperationsFutureStub
Manages long-running operations with an API service.
|
static class |
OperationsGrpc.OperationsImplBase
Manages long-running operations with an API service.
|
static class |
OperationsGrpc.OperationsStub
Manages long-running operations with an API service.
|
Modifier and Type | Field and Description |
---|---|
static io.grpc.MethodDescriptor<CancelOperationRequest,Empty> |
METHOD_CANCEL_OPERATION
Deprecated.
|
static io.grpc.MethodDescriptor<DeleteOperationRequest,Empty> |
METHOD_DELETE_OPERATION
Deprecated.
|
static io.grpc.MethodDescriptor<GetOperationRequest,Operation> |
METHOD_GET_OPERATION
Deprecated.
|
static io.grpc.MethodDescriptor<ListOperationsRequest,ListOperationsResponse> |
METHOD_LIST_OPERATIONS
Deprecated.
|
static io.grpc.MethodDescriptor<WaitOperationRequest,Operation> |
METHOD_WAIT_OPERATION
Deprecated.
|
static java.lang.String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static io.grpc.MethodDescriptor<CancelOperationRequest,Empty> |
getCancelOperationMethod() |
static io.grpc.MethodDescriptor<DeleteOperationRequest,Empty> |
getDeleteOperationMethod() |
static io.grpc.MethodDescriptor<GetOperationRequest,Operation> |
getGetOperationMethod() |
static io.grpc.MethodDescriptor<ListOperationsRequest,ListOperationsResponse> |
getListOperationsMethod() |
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static io.grpc.MethodDescriptor<WaitOperationRequest,Operation> |
getWaitOperationMethod() |
static OperationsGrpc.OperationsBlockingStub |
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
|
static OperationsGrpc.OperationsFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static OperationsGrpc.OperationsStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
public static final java.lang.String SERVICE_NAME
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") @Deprecated public static final io.grpc.MethodDescriptor<ListOperationsRequest,ListOperationsResponse> METHOD_LIST_OPERATIONS
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") @Deprecated public static final io.grpc.MethodDescriptor<GetOperationRequest,Operation> METHOD_GET_OPERATION
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") @Deprecated public static final io.grpc.MethodDescriptor<DeleteOperationRequest,Empty> METHOD_DELETE_OPERATION
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") @Deprecated public static final io.grpc.MethodDescriptor<CancelOperationRequest,Empty> METHOD_CANCEL_OPERATION
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") @Deprecated public static final io.grpc.MethodDescriptor<WaitOperationRequest,Operation> METHOD_WAIT_OPERATION
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static io.grpc.MethodDescriptor<ListOperationsRequest,ListOperationsResponse> getListOperationsMethod()
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static io.grpc.MethodDescriptor<GetOperationRequest,Operation> getGetOperationMethod()
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static io.grpc.MethodDescriptor<DeleteOperationRequest,Empty> getDeleteOperationMethod()
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static io.grpc.MethodDescriptor<CancelOperationRequest,Empty> getCancelOperationMethod()
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static io.grpc.MethodDescriptor<WaitOperationRequest,Operation> getWaitOperationMethod()
public static OperationsGrpc.OperationsStub newStub(io.grpc.Channel channel)
public static OperationsGrpc.OperationsBlockingStub newBlockingStub(io.grpc.Channel channel)
public static OperationsGrpc.OperationsFutureStub newFutureStub(io.grpc.Channel channel)
public static io.grpc.ServiceDescriptor getServiceDescriptor()