Class BusinessInfoServiceGrpc.BusinessInfoServiceFutureStub (0.2.0)

public static final class BusinessInfoServiceGrpc.BusinessInfoServiceFutureStub extends AbstractFutureStub<BusinessInfoServiceGrpc.BusinessInfoServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service BusinessInfoService.

Service to support business info API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > BusinessInfoServiceGrpc.BusinessInfoServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected BusinessInfoServiceGrpc.BusinessInfoServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
BusinessInfoServiceGrpc.BusinessInfoServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getBusinessInfo(GetBusinessInfoRequest request)

public ListenableFuture<BusinessInfo> getBusinessInfo(GetBusinessInfoRequest request)

Retrieves the business info of an account.

Parameter
Name Description
request GetBusinessInfoRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<BusinessInfo>

updateBusinessInfo(UpdateBusinessInfoRequest request)

public ListenableFuture<BusinessInfo> updateBusinessInfo(UpdateBusinessInfoRequest request)

Updates the business info of an account. Executing this method requires admin access.

Parameter
Name Description
request UpdateBusinessInfoRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<BusinessInfo>