Class BusinessIdentityServiceGrpc.BusinessIdentityServiceFutureStub (0.1.0)

public static final class BusinessIdentityServiceGrpc.BusinessIdentityServiceFutureStub extends AbstractFutureStub<BusinessIdentityServiceGrpc.BusinessIdentityServiceFutureStub>

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

Service to support business identity API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > BusinessIdentityServiceGrpc.BusinessIdentityServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

getBusinessIdentity(GetBusinessIdentityRequest request)

public ListenableFuture<BusinessIdentity> getBusinessIdentity(GetBusinessIdentityRequest request)

Retrieves the business identity of an account.

Parameter
Name Description
request GetBusinessIdentityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<BusinessIdentity>

updateBusinessIdentity(UpdateBusinessIdentityRequest request)

public ListenableFuture<BusinessIdentity> updateBusinessIdentity(UpdateBusinessIdentityRequest request)

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

Parameter
Name Description
request UpdateBusinessIdentityRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<BusinessIdentity>