Class GbpAccountsServiceGrpc.GbpAccountsServiceStub (0.20.0)

public static final class GbpAccountsServiceGrpc.GbpAccountsServiceStub extends AbstractAsyncStub<GbpAccountsServiceGrpc.GbpAccountsServiceStub>

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

The service facilitates the management of a merchant's Google Business Profile (GBP) account settings. This API defines the following resource model:

  • GbpAccount

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > GbpAccountsServiceGrpc.GbpAccountsServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

linkGbpAccount(LinkGbpAccountRequest request, StreamObserver<LinkGbpAccountResponse> responseObserver)

public void linkGbpAccount(LinkGbpAccountRequest request, StreamObserver<LinkGbpAccountResponse> responseObserver)

Link the specified merchant to a GBP account for all countries.

Parameters
Name Description
request LinkGbpAccountRequest
responseObserver io.grpc.stub.StreamObserver<LinkGbpAccountResponse>

listGbpAccounts(ListGbpAccountsRequest request, StreamObserver<ListGbpAccountsResponse> responseObserver)

public void listGbpAccounts(ListGbpAccountsRequest request, StreamObserver<ListGbpAccountsResponse> responseObserver)

List the GBP accounts for a given merchant.

Parameters
Name Description
request ListGbpAccountsRequest
responseObserver io.grpc.stub.StreamObserver<ListGbpAccountsResponse>