Class GrpcErrorStatsServiceStub (0.152.0-beta)

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.

Inheritance

java.lang.Object > ErrorStatsServiceStub > GrpcErrorStatsServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcErrorStatsServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcErrorStatsServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcErrorStatsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcErrorStatsServiceStub
Exceptions
TypeDescription
IOException

create(ErrorStatsServiceStubSettings settings)

public static final GrpcErrorStatsServiceStub create(ErrorStatsServiceStubSettings settings)
Parameter
NameDescription
settingsErrorStatsServiceStubSettings
Returns
TypeDescription
GrpcErrorStatsServiceStub
Exceptions
TypeDescription
IOException

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
NameDescription
settingsErrorStatsServiceStubSettings
clientContextClientContext

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
NameDescription
settingsErrorStatsServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

deleteEventsCallable()

public UnaryCallable<DeleteEventsRequest,DeleteEventsResponse> deleteEventsCallable()
Returns
TypeDescription
UnaryCallable<DeleteEventsRequest,DeleteEventsResponse>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listEventsCallable()

public UnaryCallable<ListEventsRequest,ListEventsResponse> listEventsCallable()
Returns
TypeDescription
UnaryCallable<ListEventsRequest,ListEventsResponse>
Overrides

listEventsPagedCallable()

public UnaryCallable<ListEventsRequest,ErrorStatsServiceClient.ListEventsPagedResponse> listEventsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListEventsRequest,ListEventsPagedResponse>
Overrides

listGroupStatsCallable()

public UnaryCallable<ListGroupStatsRequest,ListGroupStatsResponse> listGroupStatsCallable()
Returns
TypeDescription
UnaryCallable<ListGroupStatsRequest,ListGroupStatsResponse>
Overrides

listGroupStatsPagedCallable()

public UnaryCallable<ListGroupStatsRequest,ErrorStatsServiceClient.ListGroupStatsPagedResponse> listGroupStatsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListGroupStatsRequest,ListGroupStatsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()