@Override
  public boolean isTerminated() {
    return backgroundResources.isTerminated();
  }
Constructs an instance of HttpJsonExecutionsStub, 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-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java