@Test @SuppressWarnings("all") public void mutateCustomerClientLinkExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT); mockCustomerClientLinkService.addException(exception); try { String customerId = "customerId-1772061412"; CustomerClientLinkOperation operation = CustomerClientLinkOperation.newBuilder().build(); client.mutateCustomerClientLink(customerId, operation); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { } }
public final MutateCustomerClientLinkResponse mutateCustomerClientLink( String customerId, CustomerClientLinkOperation operation) { MutateCustomerClientLinkRequest request = MutateCustomerClientLinkRequest.newBuilder() .setCustomerId(customerId) .setOperation(operation) .build(); return mutateCustomerClientLink(request); }
CustomerClientLinkServiceClient implements BackgroundResource { public final MutateCustomerClientLinkResponse mutateCustomerClientLink( String customerId, CustomerClientLinkOperation operation) { MutateCustomerClientLinkRequest request = MutateCustomerClientLinkRequest.newBuilder() .setCustomerId(customerId) .setOperation(operation) .build(); return mutateCustomerClientLink(request); } }
CustomerClientLinkServiceClient implements BackgroundResource { public final MutateCustomerClientLinkResponse mutateCustomerClientLink( String customerId, CustomerClientLinkOperation operation) { MutateCustomerClientLinkRequest request = MutateCustomerClientLinkRequest.newBuilder() .setCustomerId(customerId) .setOperation(operation) .build(); return mutateCustomerClientLink(request); } protected  CustomerClientLinkServiceClient(CustomerClientLinkServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected  CustomerClientLinkServiceClient(CustomerClientLinkServiceStub stub); }
CustomerClientLinkServiceClient implements BackgroundResource { public final MutateCustomerClientLinkResponse mutateCustomerClientLink( String customerId, CustomerClientLinkOperation operation) { MutateCustomerClientLinkRequest request = MutateCustomerClientLinkRequest.newBuilder() .setCustomerId(customerId) .setOperation(operation) .build(); return mutateCustomerClientLink(request); } protected  CustomerClientLinkServiceClient(CustomerClientLinkServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected  CustomerClientLinkServiceClient(CustomerClientLinkServiceStub stub); static final CustomerClientLinkServiceClient create(); static final CustomerClientLinkServiceClient create(
      CustomerClientLinkServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") static final CustomerClientLinkServiceClient create(CustomerClientLinkServiceStub stub); final CustomerClientLinkServiceSettings getSettings(); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") CustomerClientLinkServiceStub getStub(); final CustomerClientLink getCustomerClientLink(CustomerClientLinkName resourceName); final CustomerClientLink getCustomerClientLink(String resourceName); final CustomerClientLink getCustomerClientLink(GetCustomerClientLinkRequest request); final UnaryCallable<GetCustomerClientLinkRequest, CustomerClientLink> getCustomerClientLinkCallable(); final MutateCustomerClientLinkResponse mutateCustomerClientLink(
      String customerId, CustomerClientLinkOperation operation); final MutateCustomerClientLinkResponse mutateCustomerClientLink(
      MutateCustomerClientLinkRequest request); final UnaryCallable<MutateCustomerClientLinkRequest, MutateCustomerClientLinkResponse> mutateCustomerClientLinkCallable(); @Override final void close(); @Override void shutdown(); @Override boolean isShutdown(); @Override boolean isTerminated(); @Override void shutdownNow(); @Override boolean awaitTermination(long duration, TimeUnit unit); }
CustomerClientLinkServiceClient implements BackgroundResource { public final MutateCustomerClientLinkResponse mutateCustomerClientLink( String customerId, CustomerClientLinkOperation operation) { MutateCustomerClientLinkRequest request = MutateCustomerClientLinkRequest.newBuilder() .setCustomerId(customerId) .setOperation(operation) .build(); return mutateCustomerClientLink(request); } protected  CustomerClientLinkServiceClient(CustomerClientLinkServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected  CustomerClientLinkServiceClient(CustomerClientLinkServiceStub stub); static final CustomerClientLinkServiceClient create(); static final CustomerClientLinkServiceClient create(
      CustomerClientLinkServiceSettings settings); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") static final CustomerClientLinkServiceClient create(CustomerClientLinkServiceStub stub); final CustomerClientLinkServiceSettings getSettings(); @BetaApi("A restructuring of stub classes is planned, so this may break in the future") CustomerClientLinkServiceStub getStub(); final CustomerClientLink getCustomerClientLink(CustomerClientLinkName resourceName); final CustomerClientLink getCustomerClientLink(String resourceName); final CustomerClientLink getCustomerClientLink(GetCustomerClientLinkRequest request); final UnaryCallable<GetCustomerClientLinkRequest, CustomerClientLink> getCustomerClientLinkCallable(); final MutateCustomerClientLinkResponse mutateCustomerClientLink(
      String customerId, CustomerClientLinkOperation operation); final MutateCustomerClientLinkResponse mutateCustomerClientLink(
      MutateCustomerClientLinkRequest request); final UnaryCallable<MutateCustomerClientLinkRequest, MutateCustomerClientLinkResponse> mutateCustomerClientLinkCallable(); @Override final void close(); @Override void shutdown(); @Override boolean isShutdown(); @Override boolean isTerminated(); @Override void shutdownNow(); @Override boolean awaitTermination(long duration, TimeUnit unit);  }