@Test @SuppressWarnings("all") public void listPlannableLocationsExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockReachPlanService.addException(exception); try { ListPlannableLocationsRequest request = ListPlannableLocationsRequest.newBuilder().build(); client.listPlannableLocations(request); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { } }
public final ListPlannableLocationsResponse listPlannableLocations( ListPlannableLocationsRequest request) { return listPlannableLocationsCallable().call(request); }
ReachPlanServiceClient implements BackgroundResource { public final ListPlannableLocationsResponse listPlannableLocations( ListPlannableLocationsRequest request) { return listPlannableLocationsCallable().call(request); } }
ReachPlanServiceClient implements BackgroundResource { public final ListPlannableLocationsResponse listPlannableLocations( ListPlannableLocationsRequest request) { return listPlannableLocationsCallable().call(request); } protected  ReachPlanServiceClient(ReachPlanServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected  ReachPlanServiceClient(ReachPlanServiceStub stub); }
ReachPlanServiceClient implements BackgroundResource { public final ListPlannableLocationsResponse listPlannableLocations( ListPlannableLocationsRequest request) { return listPlannableLocationsCallable().call(request); } protected  ReachPlanServiceClient(ReachPlanServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected  ReachPlanServiceClient(ReachPlanServiceStub stub); static final ReachPlanServiceClient create(); static final ReachPlanServiceClient create(ReachPlanServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") static final ReachPlanServiceClient create(ReachPlanServiceStub stub); final ReachPlanServiceSettings getSettings(); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") ReachPlanServiceStub getStub(); final ListPlannableLocationsResponse listPlannableLocations(
      ListPlannableLocationsRequest request); final UnaryCallable<ListPlannableLocationsRequest, ListPlannableLocationsResponse> listPlannableLocationsCallable(); final ListPlannableProductsResponse listPlannableProducts(
      StringValue plannableLocationId); final ListPlannableProductsResponse listPlannableProducts(
      ListPlannableProductsRequest request); final UnaryCallable<ListPlannableProductsRequest, ListPlannableProductsResponse> listPlannableProductsCallable(); final GenerateProductMixIdeasResponse generateProductMixIdeas(
      String customerId,
      StringValue plannableLocationId,
      StringValue currencyCode,
      Int64Value budgetMicros); final GenerateProductMixIdeasResponse generateProductMixIdeas(
      GenerateProductMixIdeasRequest request); final UnaryCallable<GenerateProductMixIdeasRequest, GenerateProductMixIdeasResponse> generateProductMixIdeasCallable(); final GenerateReachForecastResponse generateReachForecast(
      String customerId, CampaignDuration campaignDuration, List<PlannedProduct> plannedProducts); final GenerateReachForecastResponse generateReachForecast(
      GenerateReachForecastRequest request); final UnaryCallable<GenerateReachForecastRequest, GenerateReachForecastResponse> generateReachForecastCallable(); @Override final void close(); @Override void shutdown(); @Override boolean isShutdown(); @Override boolean isTerminated(); @Override void shutdownNow(); @Override boolean awaitTermination(long duration, TimeUnit unit); }
ReachPlanServiceClient implements BackgroundResource { public final ListPlannableLocationsResponse listPlannableLocations( ListPlannableLocationsRequest request) { return listPlannableLocationsCallable().call(request); } protected  ReachPlanServiceClient(ReachPlanServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected  ReachPlanServiceClient(ReachPlanServiceStub stub); static final ReachPlanServiceClient create(); static final ReachPlanServiceClient create(ReachPlanServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") static final ReachPlanServiceClient create(ReachPlanServiceStub stub); final ReachPlanServiceSettings getSettings(); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") ReachPlanServiceStub getStub(); final ListPlannableLocationsResponse listPlannableLocations(
      ListPlannableLocationsRequest request); final UnaryCallable<ListPlannableLocationsRequest, ListPlannableLocationsResponse> listPlannableLocationsCallable(); final ListPlannableProductsResponse listPlannableProducts(
      StringValue plannableLocationId); final ListPlannableProductsResponse listPlannableProducts(
      ListPlannableProductsRequest request); final UnaryCallable<ListPlannableProductsRequest, ListPlannableProductsResponse> listPlannableProductsCallable(); final GenerateProductMixIdeasResponse generateProductMixIdeas(
      String customerId,
      StringValue plannableLocationId,
      StringValue currencyCode,
      Int64Value budgetMicros); final GenerateProductMixIdeasResponse generateProductMixIdeas(
      GenerateProductMixIdeasRequest request); final UnaryCallable<GenerateProductMixIdeasRequest, GenerateProductMixIdeasResponse> generateProductMixIdeasCallable(); final GenerateReachForecastResponse generateReachForecast(
      String customerId, CampaignDuration campaignDuration, List<PlannedProduct> plannedProducts); final GenerateReachForecastResponse generateReachForecast(
      GenerateReachForecastRequest request); final UnaryCallable<GenerateReachForecastRequest, GenerateReachForecastResponse> generateReachForecastCallable(); @Override final void close(); @Override void shutdown(); @Override boolean isShutdown(); @Override boolean isTerminated(); @Override void shutdownNow(); @Override boolean awaitTermination(long duration, TimeUnit unit);  }