Class BudgetServiceGrpc (2.54.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
Type Description
String

Static Methods

bindService(BudgetServiceGrpc.AsyncService service)

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

getCreateBudgetMethod()

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

getDeleteBudgetMethod()

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

getGetBudgetMethod()

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

getListBudgetsMethod()

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

getServiceDescriptor()

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

getUpdateBudgetMethod()

public static MethodDescriptor<UpdateBudgetRequest,Budget> getUpdateBudgetMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
BudgetServiceGrpc.BudgetServiceStub