Class HttpJsonMerchantCenterAccountLinkServiceStub (2.19.0)

public class HttpJsonMerchantCenterAccountLinkServiceStub extends MerchantCenterAccountLinkServiceStub

REST stub implementation for the MerchantCenterAccountLinkService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > MerchantCenterAccountLinkServiceStub > HttpJsonMerchantCenterAccountLinkServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonMerchantCenterAccountLinkServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonMerchantCenterAccountLinkServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonMerchantCenterAccountLinkServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonMerchantCenterAccountLinkServiceStub
Exceptions
TypeDescription
IOException

create(MerchantCenterAccountLinkServiceStubSettings settings)

public static final HttpJsonMerchantCenterAccountLinkServiceStub create(MerchantCenterAccountLinkServiceStubSettings settings)
Parameter
NameDescription
settingsMerchantCenterAccountLinkServiceStubSettings
Returns
TypeDescription
HttpJsonMerchantCenterAccountLinkServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonMerchantCenterAccountLinkServiceStub(MerchantCenterAccountLinkServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonMerchantCenterAccountLinkServiceStub(MerchantCenterAccountLinkServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonMerchantCenterAccountLinkServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsMerchantCenterAccountLinkServiceStubSettings
clientContextClientContext

HttpJsonMerchantCenterAccountLinkServiceStub(MerchantCenterAccountLinkServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonMerchantCenterAccountLinkServiceStub(MerchantCenterAccountLinkServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonMerchantCenterAccountLinkServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsMerchantCenterAccountLinkServiceStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createMerchantCenterAccountLinkCallable()

public UnaryCallable<CreateMerchantCenterAccountLinkRequest,Operation> createMerchantCenterAccountLinkCallable()
Returns
TypeDescription
UnaryCallable<CreateMerchantCenterAccountLinkRequest,Operation>
Overrides

createMerchantCenterAccountLinkOperationCallable()

public OperationCallable<CreateMerchantCenterAccountLinkRequest,MerchantCenterAccountLink,CreateMerchantCenterAccountLinkMetadata> createMerchantCenterAccountLinkOperationCallable()
Returns
TypeDescription
OperationCallable<CreateMerchantCenterAccountLinkRequest,MerchantCenterAccountLink,CreateMerchantCenterAccountLinkMetadata>
Overrides

deleteMerchantCenterAccountLinkCallable()

public UnaryCallable<DeleteMerchantCenterAccountLinkRequest,Empty> deleteMerchantCenterAccountLinkCallable()
Returns
TypeDescription
UnaryCallable<DeleteMerchantCenterAccountLinkRequest,Empty>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listMerchantCenterAccountLinksCallable()

public UnaryCallable<ListMerchantCenterAccountLinksRequest,ListMerchantCenterAccountLinksResponse> listMerchantCenterAccountLinksCallable()
Returns
TypeDescription
UnaryCallable<ListMerchantCenterAccountLinksRequest,ListMerchantCenterAccountLinksResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()