Class GrpcSharedSetServiceStub
java.lang.Object
com.google.ads.googleads.v18.services.stub.SharedSetServiceStub
com.google.ads.googleads.v18.services.stub.GrpcSharedSetServiceStub
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcSharedSetServiceStub
extends SharedSetServiceStub
gRPC stub implementation for the SharedSetService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcSharedSetServiceStub(SharedSetServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) Constructs an instance of GrpcSharedSetServiceStub, using the given settings.protectedGrpcSharedSetServiceStub(SharedSetServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcSharedSetServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcSharedSetServiceStubcreate(SharedSetServiceStubSettings settings) static final GrpcSharedSetServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext) static final GrpcSharedSetServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) com.google.longrunning.stub.GrpcOperationsStubbooleanbooleancom.google.api.gax.rpc.UnaryCallable<MutateSharedSetsRequest,MutateSharedSetsResponse> voidshutdown()void
-
Constructor Details
-
Method Details
-
create
public static final GrpcSharedSetServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcSharedSetServiceStub 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() -
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classSharedSetServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException