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