@InternalApi
  public static List<ApiMethodDescriptor> getMethodDescriptors() {
    List<ApiMethodDescriptor> methodDescriptors = new ArrayList<>();
    methodDescriptors.add(listWorkflowsMethodDescriptor);
    methodDescriptors.add(getWorkflowMethodDescriptor);
    methodDescriptors.add(createWorkflowMethodDescriptor);
    methodDescriptors.add(deleteWorkflowMethodDescriptor);
    methodDescriptors.add(updateWorkflowMethodDescriptor);
    methodDescriptors.add(listLocationsMethodDescriptor);
    methodDescriptors.add(getLocationMethodDescriptor);
    return methodDescriptors;
  }
Constructs an instance of HttpJsonWorkflowsStub, 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-workflows/google-cloud-workflows/src/main/java/com/google/cloud/workflows/v1beta/stub/HttpJsonWorkflowsStub.java