Class HttpJsonErrorStatsServiceStub
java.lang.Object
com.google.devtools.clouderrorreporting.v1beta1.stub.ErrorStatsServiceStub
com.google.devtools.clouderrorreporting.v1beta1.stub.HttpJsonErrorStatsServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonErrorStatsServiceStub, using the given settings.protectedHttpJsonErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonErrorStatsServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonErrorStatsServiceStubcreate(ClientContext clientContext) static final HttpJsonErrorStatsServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonErrorStatsServiceStubcreate(ErrorStatsServiceStubSettings settings) static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()void
-
Constructor Details
-
HttpJsonErrorStatsServiceStub
protected HttpJsonErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
HttpJsonErrorStatsServiceStub
protected HttpJsonErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonErrorStatsServiceStub create(ErrorStatsServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonErrorStatsServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonErrorStatsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
listGroupStatsCallable
- Overrides:
listGroupStatsCallablein classErrorStatsServiceStub
-
listGroupStatsPagedCallable
public UnaryCallable<ListGroupStatsRequest,ErrorStatsServiceClient.ListGroupStatsPagedResponse> listGroupStatsPagedCallable()- Overrides:
listGroupStatsPagedCallablein classErrorStatsServiceStub
-
listEventsCallable
- Overrides:
listEventsCallablein classErrorStatsServiceStub
-
listEventsPagedCallable
public UnaryCallable<ListEventsRequest,ErrorStatsServiceClient.ListEventsPagedResponse> listEventsPagedCallable()- Overrides:
listEventsPagedCallablein classErrorStatsServiceStub
-
deleteEventsCallable
- Overrides:
deleteEventsCallablein classErrorStatsServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classErrorStatsServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-