Class HttpJsonErrorStatsServiceStub (0.175.0-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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonErrorStatsServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(ErrorStatsServiceStubSettings settings)

public static final HttpJsonErrorStatsServiceStub create(ErrorStatsServiceStubSettings settings)
Parameter
Name Description
settings ErrorStatsServiceStubSettings
Returns
Type Description
HttpJsonErrorStatsServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings ErrorStatsServiceStubSettings
clientContext ClientContext

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

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

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