Class GrpcMerchantCenterAccountLinkServiceStub
- java.lang.Object
-
- com.google.cloud.retail.v2alpha.stub.MerchantCenterAccountLinkServiceStub
-
- com.google.cloud.retail.v2alpha.stub.GrpcMerchantCenterAccountLinkServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") public class GrpcMerchantCenterAccountLinkServiceStub extends MerchantCenterAccountLinkServiceStub
gRPC stub implementation for the MerchantCenterAccountLinkService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GrpcMerchantCenterAccountLinkServiceStub(MerchantCenterAccountLinkServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcMerchantCenterAccountLinkServiceStub, using the given settings.protected
GrpcMerchantCenterAccountLinkServiceStub(MerchantCenterAccountLinkServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcMerchantCenterAccountLinkServiceStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.retail.v2alpha.stub.MerchantCenterAccountLinkServiceStub
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcMerchantCenterAccountLinkServiceStub
protected GrpcMerchantCenterAccountLinkServiceStub(MerchantCenterAccountLinkServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcMerchantCenterAccountLinkServiceStub, 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
-
GrpcMerchantCenterAccountLinkServiceStub
protected GrpcMerchantCenterAccountLinkServiceStub(MerchantCenterAccountLinkServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcMerchantCenterAccountLinkServiceStub, 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 Detail
-
create
public static final GrpcMerchantCenterAccountLinkServiceStub create(MerchantCenterAccountLinkServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcMerchantCenterAccountLinkServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcMerchantCenterAccountLinkServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStub
in classMerchantCenterAccountLinkServiceStub
-
listMerchantCenterAccountLinksCallable
public com.google.api.gax.rpc.UnaryCallable<ListMerchantCenterAccountLinksRequest,ListMerchantCenterAccountLinksResponse> listMerchantCenterAccountLinksCallable()
- Overrides:
listMerchantCenterAccountLinksCallable
in classMerchantCenterAccountLinkServiceStub
-
createMerchantCenterAccountLinkCallable
public com.google.api.gax.rpc.UnaryCallable<CreateMerchantCenterAccountLinkRequest,com.google.longrunning.Operation> createMerchantCenterAccountLinkCallable()
- Overrides:
createMerchantCenterAccountLinkCallable
in classMerchantCenterAccountLinkServiceStub
-
createMerchantCenterAccountLinkOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateMerchantCenterAccountLinkRequest,MerchantCenterAccountLink,CreateMerchantCenterAccountLinkMetadata> createMerchantCenterAccountLinkOperationCallable()
- Overrides:
createMerchantCenterAccountLinkOperationCallable
in classMerchantCenterAccountLinkServiceStub
-
deleteMerchantCenterAccountLinkCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteMerchantCenterAccountLinkRequest,com.google.protobuf.Empty> deleteMerchantCenterAccountLinkCallable()
- Overrides:
deleteMerchantCenterAccountLinkCallable
in classMerchantCenterAccountLinkServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classMerchantCenterAccountLinkServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-