Class ServiceUsageGrpc (2.9.0)

public final class ServiceUsageGrpc

Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use. See Service Usage API

Inheritance

java.lang.Object > ServiceUsageGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getBatchEnableServicesMethod()

public static MethodDescriptor<BatchEnableServicesRequest,Operation> getBatchEnableServicesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchEnableServicesRequest,Operation>

getBatchGetServicesMethod()

public static MethodDescriptor<BatchGetServicesRequest,BatchGetServicesResponse> getBatchGetServicesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchGetServicesRequest,BatchGetServicesResponse>

getDisableServiceMethod()

public static MethodDescriptor<DisableServiceRequest,Operation> getDisableServiceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DisableServiceRequest,Operation>

getEnableServiceMethod()

public static MethodDescriptor<EnableServiceRequest,Operation> getEnableServiceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<EnableServiceRequest,Operation>

getGetServiceMethod()

public static MethodDescriptor<GetServiceRequest,Service> getGetServiceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetServiceRequest,Service>

getListServicesMethod()

public static MethodDescriptor<ListServicesRequest,ListServicesResponse> getListServicesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListServicesRequest,ListServicesResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static ServiceUsageGrpc.ServiceUsageBlockingStub 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
ServiceUsageGrpc.ServiceUsageBlockingStub

newFutureStub(Channel channel)

public static ServiceUsageGrpc.ServiceUsageFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ServiceUsageGrpc.ServiceUsageFutureStub

newStub(Channel channel)

public static ServiceUsageGrpc.ServiceUsageStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ServiceUsageGrpc.ServiceUsageStub