@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcMetricServiceStub extends MetricServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcMetricServiceStub(MetricServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcMetricServiceStub, using the given settings.
|
protected |
GrpcMetricServiceStub(MetricServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcMetricServiceStub, using the given settings.
|
protected GrpcMetricServiceStub(MetricServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcMetricServiceStub(MetricServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcMetricServiceStub create(MetricServiceStubSettings settings) throws IOException
IOException
public static final GrpcMetricServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcMetricServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<ListMonitoredResourceDescriptorsRequest,MetricServiceClient.ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsPagedCallable()
listMonitoredResourceDescriptorsPagedCallable
in class MetricServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse> listMonitoredResourceDescriptorsCallable()
listMonitoredResourceDescriptorsCallable
in class MetricServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetMonitoredResourceDescriptorRequest,com.google.api.MonitoredResourceDescriptor> getMonitoredResourceDescriptorCallable()
getMonitoredResourceDescriptorCallable
in class MetricServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListMetricDescriptorsRequest,MetricServiceClient.ListMetricDescriptorsPagedResponse> listMetricDescriptorsPagedCallable()
listMetricDescriptorsPagedCallable
in class MetricServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListMetricDescriptorsRequest,ListMetricDescriptorsResponse> listMetricDescriptorsCallable()
listMetricDescriptorsCallable
in class MetricServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetMetricDescriptorRequest,com.google.api.MetricDescriptor> getMetricDescriptorCallable()
getMetricDescriptorCallable
in class MetricServiceStub
public com.google.api.gax.rpc.UnaryCallable<CreateMetricDescriptorRequest,com.google.api.MetricDescriptor> createMetricDescriptorCallable()
createMetricDescriptorCallable
in class MetricServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteMetricDescriptorRequest,Empty> deleteMetricDescriptorCallable()
deleteMetricDescriptorCallable
in class MetricServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListTimeSeriesRequest,MetricServiceClient.ListTimeSeriesPagedResponse> listTimeSeriesPagedCallable()
listTimeSeriesPagedCallable
in class MetricServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListTimeSeriesRequest,ListTimeSeriesResponse> listTimeSeriesCallable()
listTimeSeriesCallable
in class MetricServiceStub
public com.google.api.gax.rpc.UnaryCallable<CreateTimeSeriesRequest,Empty> createTimeSeriesCallable()
createTimeSeriesCallable
in class MetricServiceStub
public final void close()
close
in interface AutoCloseable
close
in class MetricServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.