Class MetricsScopesGrpc (0.21.0)

public final class MetricsScopesGrpc

Manages Cloud Monitoring Metrics Scopes, and the monitoring of Google Cloud projects and AWS accounts.

Inheritance

java.lang.Object > MetricsScopesGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(MetricsScopesGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(MetricsScopesGrpc.AsyncService service)
Parameter
NameDescription
serviceMetricsScopesGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateMonitoredProjectMethod()

public static MethodDescriptor<CreateMonitoredProjectRequest,Operation> getCreateMonitoredProjectMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateMonitoredProjectRequest,Operation>

getDeleteMonitoredProjectMethod()

public static MethodDescriptor<DeleteMonitoredProjectRequest,Operation> getDeleteMonitoredProjectMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteMonitoredProjectRequest,Operation>

getGetMetricsScopeMethod()

public static MethodDescriptor<GetMetricsScopeRequest,MetricsScope> getGetMetricsScopeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetMetricsScopeRequest,MetricsScope>

getListMetricsScopesByMonitoredProjectMethod()

public static MethodDescriptor<ListMetricsScopesByMonitoredProjectRequest,ListMetricsScopesByMonitoredProjectResponse> getListMetricsScopesByMonitoredProjectMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListMetricsScopesByMonitoredProjectRequest,ListMetricsScopesByMonitoredProjectResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static MetricsScopesGrpc.MetricsScopesBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
MetricsScopesGrpc.MetricsScopesBlockingStub

newFutureStub(Channel channel)

public static MetricsScopesGrpc.MetricsScopesFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
MetricsScopesGrpc.MetricsScopesFutureStub

newStub(Channel channel)

public static MetricsScopesGrpc.MetricsScopesStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
MetricsScopesGrpc.MetricsScopesStub