@Generated(value="by gapic-generator-java") public class GrpcTopicStatsServiceStub extends TopicStatsServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcTopicStatsServiceStub(TopicStatsServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcTopicStatsServiceStub, using the given settings.
|
protected |
GrpcTopicStatsServiceStub(TopicStatsServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcTopicStatsServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
com.google.api.gax.rpc.UnaryCallable<ComputeHeadCursorRequest,ComputeHeadCursorResponse> |
computeHeadCursorCallable() |
com.google.api.gax.rpc.UnaryCallable<ComputeMessageStatsRequest,ComputeMessageStatsResponse> |
computeMessageStatsCallable() |
com.google.api.gax.rpc.UnaryCallable<ComputeTimeCursorRequest,ComputeTimeCursorResponse> |
computeTimeCursorCallable() |
static GrpcTopicStatsServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcTopicStatsServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcTopicStatsServiceStub |
create(TopicStatsServiceStubSettings settings) |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcTopicStatsServiceStub(TopicStatsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcTopicStatsServiceStub(TopicStatsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcTopicStatsServiceStub create(TopicStatsServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcTopicStatsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcTopicStatsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<ComputeMessageStatsRequest,ComputeMessageStatsResponse> computeMessageStatsCallable()
computeMessageStatsCallable in class TopicStatsServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ComputeHeadCursorRequest,ComputeHeadCursorResponse> computeHeadCursorCallable()
computeHeadCursorCallable in class TopicStatsServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ComputeTimeCursorRequest,ComputeTimeCursorResponse> computeTimeCursorCallable()
computeTimeCursorCallable in class TopicStatsServiceStubpublic final void close()
close in interface AutoCloseableclose in class TopicStatsServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2022 Google LLC. All rights reserved.