public class GrpcRevisionsStub extends RevisionsStub
gRPC stub implementation for the Revisions service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcRevisionsStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcRevisionsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(RevisionsStubSettings settings)
public static final GrpcRevisionsStub create(RevisionsStubSettings settings)
Constructors
GrpcRevisionsStub(RevisionsStubSettings settings, ClientContext clientContext)
protected GrpcRevisionsStub(RevisionsStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcRevisionsStub, 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.
GrpcRevisionsStub(RevisionsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcRevisionsStub(RevisionsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcRevisionsStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteRevisionCallable()
public UnaryCallable<DeleteRevisionRequest,Operation> deleteRevisionCallable()
Overrides
deleteRevisionOperationCallable()
public OperationCallable<DeleteRevisionRequest,Revision,Revision> deleteRevisionOperationCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getRevisionCallable()
public UnaryCallable<GetRevisionRequest,Revision> getRevisionCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listRevisionsCallable()
public UnaryCallable<ListRevisionsRequest,ListRevisionsResponse> listRevisionsCallable()
Overrides
listRevisionsPagedCallable()
public UnaryCallable<ListRevisionsRequest,RevisionsClient.ListRevisionsPagedResponse> listRevisionsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()