public class GrpcGrafeasStub extends GrafeasStub
gRPC stub implementation for the Grafeas service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcGrafeasStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcGrafeasStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(GrafeasStubSettings settings)
public static final GrpcGrafeasStub create(GrafeasStubSettings settings)
Constructors
GrpcGrafeasStub(GrafeasStubSettings settings, ClientContext clientContext)
protected GrpcGrafeasStub(GrafeasStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcGrafeasStub, 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.
GrpcGrafeasStub(GrafeasStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcGrafeasStub(GrafeasStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcGrafeasStub, 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)