public class GrpcExecutionsStub extends ExecutionsStub
gRPC stub implementation for the Executions service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcExecutionsStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcExecutionsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ExecutionsStubSettings settings)
public static final GrpcExecutionsStub create(ExecutionsStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcExecutionsStub(ExecutionsStubSettings settings, ClientContext clientContext)
protected GrpcExecutionsStub(ExecutionsStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcExecutionsStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
GrpcExecutionsStub(ExecutionsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcExecutionsStub(ExecutionsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcExecutionsStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteExecutionCallable()
public UnaryCallable<DeleteExecutionRequest,Operation> deleteExecutionCallable()
Returns
Overrides
deleteExecutionOperationCallable()
public OperationCallable<DeleteExecutionRequest,Execution,Execution> deleteExecutionOperationCallable()
Returns
Overrides
getExecutionCallable()
public UnaryCallable<GetExecutionRequest,Execution> getExecutionCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listExecutionsCallable()
public UnaryCallable<ListExecutionsRequest,ListExecutionsResponse> listExecutionsCallable()
Returns
Overrides
listExecutionsPagedCallable()
public UnaryCallable<ListExecutionsRequest,ExecutionsClient.ListExecutionsPagedResponse> listExecutionsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()