@Test @SuppressWarnings("all") public void getExpandedLandingPageViewExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockExpandedLandingPageViewService.addException(exception); try { ExpandedLandingPageViewName resourceName = ExpandedLandingPageViewName.of("[CUSTOMER]", "[EXPANDED_LANDING_PAGE_VIEW]"); client.getExpandedLandingPageView(resourceName); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { } }
public final ExpandedLandingPageView getExpandedLandingPageView( ExpandedLandingPageViewName resourceName) { GetExpandedLandingPageViewRequest request = GetExpandedLandingPageViewRequest.newBuilder() .setResourceName(resourceName == null ? null : resourceName.toString()) .build(); return getExpandedLandingPageView(request); }
ExpandedLandingPageViewServiceClient implements BackgroundResource { public final ExpandedLandingPageView getExpandedLandingPageView( ExpandedLandingPageViewName resourceName) { GetExpandedLandingPageViewRequest request = GetExpandedLandingPageViewRequest.newBuilder() .setResourceName(resourceName == null ? null : resourceName.toString()) .build(); return getExpandedLandingPageView(request); } }
ExpandedLandingPageViewServiceClient implements BackgroundResource { public final ExpandedLandingPageView getExpandedLandingPageView( ExpandedLandingPageViewName resourceName) { GetExpandedLandingPageViewRequest request = GetExpandedLandingPageViewRequest.newBuilder() .setResourceName(resourceName == null ? null : resourceName.toString()) .build(); return getExpandedLandingPageView(request); } protected  ExpandedLandingPageViewServiceClient(ExpandedLandingPageViewServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected  ExpandedLandingPageViewServiceClient(ExpandedLandingPageViewServiceStub stub); }
ExpandedLandingPageViewServiceClient implements BackgroundResource { public final ExpandedLandingPageView getExpandedLandingPageView( ExpandedLandingPageViewName resourceName) { GetExpandedLandingPageViewRequest request = GetExpandedLandingPageViewRequest.newBuilder() .setResourceName(resourceName == null ? null : resourceName.toString()) .build(); return getExpandedLandingPageView(request); } protected  ExpandedLandingPageViewServiceClient(ExpandedLandingPageViewServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected  ExpandedLandingPageViewServiceClient(ExpandedLandingPageViewServiceStub stub); static final ExpandedLandingPageViewServiceClient create(); static final ExpandedLandingPageViewServiceClient create(
      ExpandedLandingPageViewServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") static final ExpandedLandingPageViewServiceClient create(
      ExpandedLandingPageViewServiceStub stub); final ExpandedLandingPageViewServiceSettings getSettings(); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") ExpandedLandingPageViewServiceStub getStub(); final ExpandedLandingPageView getExpandedLandingPageView(
      ExpandedLandingPageViewName resourceName); final ExpandedLandingPageView getExpandedLandingPageView(String resourceName); final ExpandedLandingPageView getExpandedLandingPageView(
      GetExpandedLandingPageViewRequest request); final UnaryCallable<GetExpandedLandingPageViewRequest, ExpandedLandingPageView> getExpandedLandingPageViewCallable(); @Override final void close(); @Override void shutdown(); @Override boolean isShutdown(); @Override boolean isTerminated(); @Override void shutdownNow(); @Override boolean awaitTermination(long duration, TimeUnit unit); }
ExpandedLandingPageViewServiceClient implements BackgroundResource { public final ExpandedLandingPageView getExpandedLandingPageView( ExpandedLandingPageViewName resourceName) { GetExpandedLandingPageViewRequest request = GetExpandedLandingPageViewRequest.newBuilder() .setResourceName(resourceName == null ? null : resourceName.toString()) .build(); return getExpandedLandingPageView(request); } protected  ExpandedLandingPageViewServiceClient(ExpandedLandingPageViewServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected  ExpandedLandingPageViewServiceClient(ExpandedLandingPageViewServiceStub stub); static final ExpandedLandingPageViewServiceClient create(); static final ExpandedLandingPageViewServiceClient create(
      ExpandedLandingPageViewServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") static final ExpandedLandingPageViewServiceClient create(
      ExpandedLandingPageViewServiceStub stub); final ExpandedLandingPageViewServiceSettings getSettings(); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") ExpandedLandingPageViewServiceStub getStub(); final ExpandedLandingPageView getExpandedLandingPageView(
      ExpandedLandingPageViewName resourceName); final ExpandedLandingPageView getExpandedLandingPageView(String resourceName); final ExpandedLandingPageView getExpandedLandingPageView(
      GetExpandedLandingPageViewRequest request); final UnaryCallable<GetExpandedLandingPageViewRequest, ExpandedLandingPageView> getExpandedLandingPageViewCallable(); @Override final void close(); @Override void shutdown(); @Override boolean isShutdown(); @Override boolean isTerminated(); @Override void shutdownNow(); @Override boolean awaitTermination(long duration, TimeUnit unit);  }