Class HttpJsonErrorStatsServiceStub
- java.lang.Object
-
- com.google.devtools.clouderrorreporting.v1beta1.stub.ErrorStatsServiceStub
-
- com.google.devtools.clouderrorreporting.v1beta1.stub.HttpJsonErrorStatsServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.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
Constructors Modifier Constructor Description protected
HttpJsonErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonErrorStatsServiceStub, using the given settings.protected
HttpJsonErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonErrorStatsServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonErrorStatsServiceStub
protected HttpJsonErrorStatsServiceStub(ErrorStatsServiceStubSettings settings, com.google.api.gax.rpc.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, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.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 Detail
-
create
public static final HttpJsonErrorStatsServiceStub create(ErrorStatsServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonErrorStatsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonErrorStatsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
listGroupStatsCallable
public com.google.api.gax.rpc.UnaryCallable<ListGroupStatsRequest,ListGroupStatsResponse> listGroupStatsCallable()
- Overrides:
listGroupStatsCallable
in classErrorStatsServiceStub
-
listGroupStatsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListGroupStatsRequest,ErrorStatsServiceClient.ListGroupStatsPagedResponse> listGroupStatsPagedCallable()
- Overrides:
listGroupStatsPagedCallable
in classErrorStatsServiceStub
-
listEventsCallable
public com.google.api.gax.rpc.UnaryCallable<ListEventsRequest,ListEventsResponse> listEventsCallable()
- Overrides:
listEventsCallable
in classErrorStatsServiceStub
-
listEventsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListEventsRequest,ErrorStatsServiceClient.ListEventsPagedResponse> listEventsPagedCallable()
- Overrides:
listEventsPagedCallable
in classErrorStatsServiceStub
-
deleteEventsCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteEventsRequest,DeleteEventsResponse> deleteEventsCallable()
- Overrides:
deleteEventsCallable
in classErrorStatsServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classErrorStatsServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-