@Generated(value="by gapic-generator-java") 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,com.google.protobuf.Empty> |
deleteLogMetricCallable() |
com.google.api.gax.rpc.UnaryCallable<GetLogMetricRequest,LogMetric> |
getLogMetricCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
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
IOException
protected GrpcMetricsServiceV2Stub(MetricsServiceV2StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcMetricsServiceV2Stub create(MetricsServiceV2StubSettings settings) throws IOException
IOException
public static final GrpcMetricsServiceV2Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcMetricsServiceV2Stub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,ListLogMetricsResponse> listLogMetricsCallable()
listLogMetricsCallable
in class MetricsServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,MetricsClient.ListLogMetricsPagedResponse> listLogMetricsPagedCallable()
listLogMetricsPagedCallable
in class MetricsServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<GetLogMetricRequest,LogMetric> getLogMetricCallable()
getLogMetricCallable
in class MetricsServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<CreateLogMetricRequest,LogMetric> createLogMetricCallable()
createLogMetricCallable
in class MetricsServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<UpdateLogMetricRequest,LogMetric> updateLogMetricCallable()
updateLogMetricCallable
in class MetricsServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<DeleteLogMetricRequest,com.google.protobuf.Empty> deleteLogMetricCallable()
deleteLogMetricCallable
in class MetricsServiceV2Stub
public final void close()
close
in interface AutoCloseable
close
in class MetricsServiceV2Stub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2023 Google LLC. All rights reserved.