@Generated(value="by GAPIC v0.0.5") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcOperationsStub extends OperationsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcOperationsStub(OperationsSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcOperationsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
com.google.api.gax.rpc.UnaryCallable<com.google.longrunning.CancelOperationRequest,com.google.protobuf.Empty> |
cancelOperationCallable() |
void |
close() |
static GrpcOperationsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcOperationsStub |
create(OperationsSettings settings) |
com.google.api.gax.rpc.UnaryCallable<com.google.longrunning.DeleteOperationRequest,com.google.protobuf.Empty> |
deleteOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.longrunning.GetOperationRequest,com.google.longrunning.Operation> |
getOperationCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<com.google.longrunning.ListOperationsRequest,com.google.longrunning.ListOperationsResponse> |
listOperationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.longrunning.ListOperationsRequest,PagedResponseWrappers.ListOperationsPagedResponse> |
listOperationsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcOperationsStub(OperationsSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcOperationsStub create(OperationsSettings settings) throws IOException
IOExceptionpublic static final GrpcOperationsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<com.google.longrunning.GetOperationRequest,com.google.longrunning.Operation> getOperationCallable()
getOperationCallable in class OperationsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.longrunning.ListOperationsRequest,PagedResponseWrappers.ListOperationsPagedResponse> listOperationsPagedCallable()
listOperationsPagedCallable in class OperationsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.longrunning.ListOperationsRequest,com.google.longrunning.ListOperationsResponse> listOperationsCallable()
listOperationsCallable in class OperationsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.longrunning.CancelOperationRequest,com.google.protobuf.Empty> cancelOperationCallable()
cancelOperationCallable in class OperationsStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.longrunning.DeleteOperationRequest,com.google.protobuf.Empty> deleteOperationCallable()
deleteOperationCallable in class OperationsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedException