Class HttpJsonMerchantCenterAccountLinkServiceStub
java.lang.Object
com.google.cloud.retail.v2alpha.stub.MerchantCenterAccountLinkServiceStub
com.google.cloud.retail.v2alpha.stub.HttpJsonMerchantCenterAccountLinkServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonMerchantCenterAccountLinkServiceStub(MerchantCenterAccountLinkServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonMerchantCenterAccountLinkServiceStub, using the given settings.protectedHttpJsonMerchantCenterAccountLinkServiceStub(MerchantCenterAccountLinkServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonMerchantCenterAccountLinkServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonMerchantCenterAccountLinkServiceStubcreate(ClientContext clientContext) static final HttpJsonMerchantCenterAccountLinkServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonMerchantCenterAccountLinkServiceStubOperationCallable<CreateMerchantCenterAccountLinkRequest,MerchantCenterAccountLink, CreateMerchantCenterAccountLinkMetadata> UnaryCallable<DeleteMerchantCenterAccountLinkRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.retail.v2alpha.stub.MerchantCenterAccountLinkServiceStub
getOperationsStub
-
Constructor Details
-
HttpJsonMerchantCenterAccountLinkServiceStub
protected HttpJsonMerchantCenterAccountLinkServiceStub(MerchantCenterAccountLinkServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
HttpJsonMerchantCenterAccountLinkServiceStub
protected HttpJsonMerchantCenterAccountLinkServiceStub(MerchantCenterAccountLinkServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonMerchantCenterAccountLinkServiceStub create(MerchantCenterAccountLinkServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonMerchantCenterAccountLinkServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonMerchantCenterAccountLinkServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classMerchantCenterAccountLinkServiceStub
-
listMerchantCenterAccountLinksCallable
public UnaryCallable<ListMerchantCenterAccountLinksRequest,ListMerchantCenterAccountLinksResponse> listMerchantCenterAccountLinksCallable()- Overrides:
listMerchantCenterAccountLinksCallablein classMerchantCenterAccountLinkServiceStub
-
createMerchantCenterAccountLinkCallable
public UnaryCallable<CreateMerchantCenterAccountLinkRequest,Operation> createMerchantCenterAccountLinkCallable()- Overrides:
createMerchantCenterAccountLinkCallablein classMerchantCenterAccountLinkServiceStub
-
createMerchantCenterAccountLinkOperationCallable
public OperationCallable<CreateMerchantCenterAccountLinkRequest,MerchantCenterAccountLink, createMerchantCenterAccountLinkOperationCallable()CreateMerchantCenterAccountLinkMetadata> - Overrides:
createMerchantCenterAccountLinkOperationCallablein classMerchantCenterAccountLinkServiceStub
-
deleteMerchantCenterAccountLinkCallable
public UnaryCallable<DeleteMerchantCenterAccountLinkRequest,com.google.protobuf.Empty> deleteMerchantCenterAccountLinkCallable()- Overrides:
deleteMerchantCenterAccountLinkCallablein classMerchantCenterAccountLinkServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classMerchantCenterAccountLinkServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-