Class BusinessIdentityServiceGrpc.BusinessIdentityServiceStub (0.11.0)

public static final class BusinessIdentityServiceGrpc.BusinessIdentityServiceStub extends AbstractAsyncStub<BusinessIdentityServiceGrpc.BusinessIdentityServiceStub>

A stub to allow clients to do asynchronous rpc calls to service BusinessIdentityService.

Service to support business identity API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > BusinessIdentityServiceGrpc.BusinessIdentityServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

getBusinessIdentity(GetBusinessIdentityRequest request, StreamObserver<BusinessIdentity> responseObserver)

public void getBusinessIdentity(GetBusinessIdentityRequest request, StreamObserver<BusinessIdentity> responseObserver)

Retrieves the business identity of an account.

Parameters
Name Description
request GetBusinessIdentityRequest
responseObserver io.grpc.stub.StreamObserver<BusinessIdentity>

updateBusinessIdentity(UpdateBusinessIdentityRequest request, StreamObserver<BusinessIdentity> responseObserver)

public void updateBusinessIdentity(UpdateBusinessIdentityRequest request, StreamObserver<BusinessIdentity> responseObserver)

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

Parameters
Name Description
request UpdateBusinessIdentityRequest
responseObserver io.grpc.stub.StreamObserver<BusinessIdentity>