Class GrpcReachPlanServiceStub
- java.lang.Object
-
- com.google.ads.googleads.v10.services.stub.ReachPlanServiceStub
-
- com.google.ads.googleads.v10.services.stub.GrpcReachPlanServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,java.lang.AutoCloseable
@Generated("by gapic-generator-java") public class GrpcReachPlanServiceStub extends ReachPlanServiceStubgRPC stub implementation for the ReachPlanService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcReachPlanServiceStub(ReachPlanServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcReachPlanServiceStub, using the given settings.protectedGrpcReachPlanServiceStub(ReachPlanServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcReachPlanServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
GrpcReachPlanServiceStub
protected GrpcReachPlanServiceStub(ReachPlanServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws java.io.IOException
Constructs an instance of GrpcReachPlanServiceStub, 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:
java.io.IOException
-
GrpcReachPlanServiceStub
protected GrpcReachPlanServiceStub(ReachPlanServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws java.io.IOException
Constructs an instance of GrpcReachPlanServiceStub, 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:
java.io.IOException
-
-
Method Detail
-
create
public static final GrpcReachPlanServiceStub create(ReachPlanServiceStubSettings settings) throws java.io.IOException
- Throws:
java.io.IOException
-
create
public static final GrpcReachPlanServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws java.io.IOException
- Throws:
java.io.IOException
-
create
public static final GrpcReachPlanServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws java.io.IOException
- Throws:
java.io.IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
listPlannableLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<ListPlannableLocationsRequest,ListPlannableLocationsResponse> listPlannableLocationsCallable()
- Overrides:
listPlannableLocationsCallablein classReachPlanServiceStub
-
listPlannableProductsCallable
public com.google.api.gax.rpc.UnaryCallable<ListPlannableProductsRequest,ListPlannableProductsResponse> listPlannableProductsCallable()
- Overrides:
listPlannableProductsCallablein classReachPlanServiceStub
-
generateProductMixIdeasCallable
public com.google.api.gax.rpc.UnaryCallable<GenerateProductMixIdeasRequest,GenerateProductMixIdeasResponse> generateProductMixIdeasCallable()
- Overrides:
generateProductMixIdeasCallablein classReachPlanServiceStub
-
generateReachForecastCallable
public com.google.api.gax.rpc.UnaryCallable<GenerateReachForecastRequest,GenerateReachForecastResponse> generateReachForecastCallable()
- Overrides:
generateReachForecastCallablein classReachPlanServiceStub
-
close
public final void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein classReachPlanServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
-