Class MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceFutureStub (2.56.0)

public static final class MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceFutureStub extends AbstractFutureStub<MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceFutureStub>

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

Merchant Center Link service to link a Branch to a Merchant Center Account.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
MerchantCenterAccountLinkServiceGrpc.MerchantCenterAccountLinkServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public ListenableFuture<Operation> createMerchantCenterAccountLink(CreateMerchantCenterAccountLinkRequest request)

Creates a MerchantCenterAccountLink.

Parameter
Name Description
request CreateMerchantCenterAccountLinkRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>
public ListenableFuture<Empty> deleteMerchantCenterAccountLink(DeleteMerchantCenterAccountLinkRequest request)

Deletes a MerchantCenterAccountLink. If the MerchantCenterAccountLink to delete does not exist, a NOT_FOUND error is returned.

Parameter
Name Description
request DeleteMerchantCenterAccountLinkRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>
public ListenableFuture<ListMerchantCenterAccountLinksResponse> listMerchantCenterAccountLinks(ListMerchantCenterAccountLinksRequest request)

Lists all MerchantCenterAccountLinks under the specified parent Catalog.

Parameter
Name Description
request ListMerchantCenterAccountLinksRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListMerchantCenterAccountLinksResponse>