@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcMetricsServiceV2Stub extends MetricsServiceV2Stub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcMetricsServiceV2Stub(MetricsServiceV2StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcMetricsServiceV2Stub, using the given settings.
|
protected |
GrpcMetricsServiceV2Stub(MetricsServiceV2StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcMetricsServiceV2Stub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcMetricsServiceV2Stub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcMetricsServiceV2Stub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcMetricsServiceV2Stub |
create(MetricsServiceV2StubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateLogMetricRequest,LogMetric> |
createLogMetricCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteLogMetricRequest,Empty> |
deleteLogMetricCallable() |
com.google.api.gax.rpc.UnaryCallable<GetLogMetricRequest,LogMetric> |
getLogMetricCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,ListLogMetricsResponse> |
listLogMetricsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,MetricsClient.ListLogMetricsPagedResponse> |
listLogMetricsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateLogMetricRequest,LogMetric> |
updateLogMetricCallable() |
protected GrpcMetricsServiceV2Stub(MetricsServiceV2StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcMetricsServiceV2Stub(MetricsServiceV2StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcMetricsServiceV2Stub create(MetricsServiceV2StubSettings settings) throws IOException
IOExceptionpublic static final GrpcMetricsServiceV2Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcMetricsServiceV2Stub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,MetricsClient.ListLogMetricsPagedResponse> listLogMetricsPagedCallable()
listLogMetricsPagedCallable in class MetricsServiceV2Stubpublic com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,ListLogMetricsResponse> listLogMetricsCallable()
listLogMetricsCallable in class MetricsServiceV2Stubpublic com.google.api.gax.rpc.UnaryCallable<GetLogMetricRequest,LogMetric> getLogMetricCallable()
getLogMetricCallable in class MetricsServiceV2Stubpublic com.google.api.gax.rpc.UnaryCallable<CreateLogMetricRequest,LogMetric> createLogMetricCallable()
createLogMetricCallable in class MetricsServiceV2Stubpublic com.google.api.gax.rpc.UnaryCallable<UpdateLogMetricRequest,LogMetric> updateLogMetricCallable()
updateLogMetricCallable in class MetricsServiceV2Stubpublic com.google.api.gax.rpc.UnaryCallable<DeleteLogMetricRequest,Empty> deleteLogMetricCallable()
deleteLogMetricCallable in class MetricsServiceV2Stubpublic final void close()
close in interface AutoCloseableclose in class MetricsServiceV2Stubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.