public class GrpcMetricsScopesStub extends MetricsScopesStub
gRPC stub implementation for the MetricsScopes service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcMetricsScopesStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcMetricsScopesStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(MetricsScopesStubSettings settings)
public static final GrpcMetricsScopesStub create(MetricsScopesStubSettings settings)
Constructors
GrpcMetricsScopesStub(MetricsScopesStubSettings settings, ClientContext clientContext)
protected GrpcMetricsScopesStub(MetricsScopesStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcMetricsScopesStub, 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.
GrpcMetricsScopesStub(MetricsScopesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcMetricsScopesStub(MetricsScopesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcMetricsScopesStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createMonitoredProjectCallable()
public UnaryCallable<CreateMonitoredProjectRequest,Operation> createMonitoredProjectCallable()
Overrides
createMonitoredProjectOperationCallable()
public OperationCallable<CreateMonitoredProjectRequest,MonitoredProject,OperationMetadata> createMonitoredProjectOperationCallable()
Overrides
deleteMonitoredProjectCallable()
public UnaryCallable<DeleteMonitoredProjectRequest,Operation> deleteMonitoredProjectCallable()
Overrides
deleteMonitoredProjectOperationCallable()
public OperationCallable<DeleteMonitoredProjectRequest,Empty,OperationMetadata> deleteMonitoredProjectOperationCallable()
Overrides
getMetricsScopeCallable()
public UnaryCallable<GetMetricsScopeRequest,MetricsScope> getMetricsScopeCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listMetricsScopesByMonitoredProjectCallable()
public UnaryCallable<ListMetricsScopesByMonitoredProjectRequest,ListMetricsScopesByMonitoredProjectResponse> listMetricsScopesByMonitoredProjectCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()