Class MetricsScopesGrpc (0.48.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
Type Description
String

Static Methods

bindService(MetricsScopesGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(MetricsScopesGrpc.AsyncService service)
Parameter
Name Description
service MetricsScopesGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateMonitoredProjectMethod()

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

getDeleteMonitoredProjectMethod()

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

getGetMetricsScopeMethod()

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

getListMetricsScopesByMonitoredProjectMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
MetricsScopesGrpc.MetricsScopesStub