Class UsageServiceGrpc (0.1.0)

public final class UsageServiceGrpc

Provides access to historical and forecasted usage data.

Inheritance

java.lang.Object > UsageServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(UsageServiceGrpc.AsyncService service)

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

getExportForecastsMethod()

public static MethodDescriptor<ExportForecastsRequest,Operation> getExportForecastsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ExportForecastsRequest,Operation>

getExportReservationsUsageMethod()

public static MethodDescriptor<ExportReservationsUsageRequest,Operation> getExportReservationsUsageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ExportReservationsUsageRequest,Operation>

getExportUsageHistoriesMethod()

public static MethodDescriptor<ExportUsageHistoriesRequest,Operation> getExportUsageHistoriesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ExportUsageHistoriesRequest,Operation>

getQueryForecastsMethod()

public static MethodDescriptor<QueryForecastsRequest,QueryForecastsResponse> getQueryForecastsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<QueryForecastsRequest,QueryForecastsResponse>

getQueryReservationsMethod()

public static MethodDescriptor<QueryReservationsRequest,QueryReservationsResponse> getQueryReservationsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<QueryReservationsRequest,QueryReservationsResponse>

getQueryUsageHistoriesMethod()

public static MethodDescriptor<QueryUsageHistoriesRequest,QueryUsageHistoriesResponse> getQueryUsageHistoriesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<QueryUsageHistoriesRequest,QueryUsageHistoriesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static UsageServiceGrpc.UsageServiceBlockingStub 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
UsageServiceGrpc.UsageServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static UsageServiceGrpc.UsageServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
UsageServiceGrpc.UsageServiceBlockingV2Stub

newFutureStub(Channel channel)

public static UsageServiceGrpc.UsageServiceFutureStub 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
UsageServiceGrpc.UsageServiceFutureStub

newStub(Channel channel)

public static UsageServiceGrpc.UsageServiceStub 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
UsageServiceGrpc.UsageServiceStub