@Override
  public final void close() {
    try {
      backgroundResources.close();
    } catch (RuntimeException e) {
      throw e;
    } catch (Exception e) {
      throw new IllegalStateException("Failed to close resource", e);
    }
  }
Constructs an instance of HttpJsonCompletionStub, 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.
java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java