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