public class GrpcErrorStatsServiceStub extends ErrorStatsServiceStub
gRPC stub implementation for the ErrorStatsService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcErrorStatsServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcErrorStatsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
public static final GrpcErrorStatsServiceStub create(ErrorStatsServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, ClientContext clientContext)
protected GrpcErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcErrorStatsServiceStub, 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
GrpcErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcErrorStatsServiceStub, 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
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
public final void close()
Overrides
public UnaryCallable<DeleteEventsRequest,DeleteEventsResponse> deleteEventsCallable()
Returns
Overrides
public GrpcOperationsStub getOperationsStub()
Returns
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
public UnaryCallable<ListEventsRequest,ListEventsResponse> listEventsCallable()
Returns
Overrides
listEventsPagedCallable()
public UnaryCallable<ListEventsRequest,ErrorStatsServiceClient.ListEventsPagedResponse> listEventsPagedCallable()
Returns
Overrides
public UnaryCallable<ListGroupStatsRequest,ListGroupStatsResponse> listGroupStatsCallable()
Returns
Overrides
listGroupStatsPagedCallable()
public UnaryCallable<ListGroupStatsRequest,ErrorStatsServiceClient.ListGroupStatsPagedResponse> listGroupStatsPagedCallable()
Returns
Overrides
public void shutdownNow()