public static final ExecutionsSettings create(ExecutionsStubSettings stub) throws IOException {
    return new ExecutionsSettings.Builder(stub.toBuilder()).build();
  }
Returns the object with the settings used for calls to cancelExecution.
java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java