Class BudgetServiceGrpc (2.2.0)

public final class BudgetServiceGrpc

BudgetService stores Cloud Billing budgets, which define a budget plan and rules to execute as we track spend against that plan.

Inheritance

java.lang.Object > BudgetServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getCreateBudgetMethod()

public static MethodDescriptor<CreateBudgetRequest,Budget> getCreateBudgetMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateBudgetRequest,Budget>

getDeleteBudgetMethod()

public static MethodDescriptor<DeleteBudgetRequest,Empty> getDeleteBudgetMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteBudgetRequest,Empty>

getGetBudgetMethod()

public static MethodDescriptor<GetBudgetRequest,Budget> getGetBudgetMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetBudgetRequest,Budget>

getListBudgetsMethod()

public static MethodDescriptor<ListBudgetsRequest,ListBudgetsResponse> getListBudgetsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListBudgetsRequest,ListBudgetsResponse>

getServiceDescriptor()

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

getUpdateBudgetMethod()

public static MethodDescriptor<UpdateBudgetRequest,Budget> getUpdateBudgetMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateBudgetRequest,Budget>

newBlockingStub(Channel channel)

public static BudgetServiceGrpc.BudgetServiceBlockingStub 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
BudgetServiceGrpc.BudgetServiceBlockingStub

newFutureStub(Channel channel)

public static BudgetServiceGrpc.BudgetServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BudgetServiceGrpc.BudgetServiceFutureStub

newStub(Channel channel)

public static BudgetServiceGrpc.BudgetServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BudgetServiceGrpc.BudgetServiceStub