Class HttpJsonErrorStatsServiceStub (0.124.3-beta)

public class HttpJsonErrorStatsServiceStub extends ErrorStatsServiceStub

REST stub implementation for the ErrorStatsService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ErrorStatsServiceStub > HttpJsonErrorStatsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonErrorStatsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonErrorStatsServiceStub
Exceptions
TypeDescription
IOException

create(ErrorStatsServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonErrorStatsServiceStub, 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

HttpJsonErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonErrorStatsServiceStub, 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
callableFactoryHttpJsonStubCallableFactory

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

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()