Class GrpcErrorStatsServiceStub (0.176.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcErrorStatsServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcErrorStatsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcErrorStatsServiceStub
Exceptions
Type Description
IOException

create(ErrorStatsServiceStubSettings settings)

public static final GrpcErrorStatsServiceStub create(ErrorStatsServiceStubSettings settings)
Parameter
Name Description
settings ErrorStatsServiceStubSettings
Returns
Type Description
GrpcErrorStatsServiceStub
Exceptions
Type Description
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
Name Description
settings ErrorStatsServiceStubSettings
clientContext ClientContext

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
Name Description
settings ErrorStatsServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteEventsCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listEventsCallable()

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

listEventsPagedCallable()

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

listGroupStatsCallable()

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

listGroupStatsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()