@InternalApi
  public static List<ApiMethodDescriptor> getMethodDescriptors() {
    List<ApiMethodDescriptor> methodDescriptors = new ArrayList<>();
    methodDescriptors.add(getWorkstationClusterMethodDescriptor);
    methodDescriptors.add(listWorkstationClustersMethodDescriptor);
    methodDescriptors.add(createWorkstationClusterMethodDescriptor);
    methodDescriptors.add(updateWorkstationClusterMethodDescriptor);
    methodDescriptors.add(deleteWorkstationClusterMethodDescriptor);
    methodDescriptors.add(getWorkstationConfigMethodDescriptor);
    methodDescriptors.add(listWorkstationConfigsMethodDescriptor);
    methodDescriptors.add(listUsableWorkstationConfigsMethodDescriptor);
    methodDescriptors.add(createWorkstationConfigMethodDescriptor);
    methodDescriptors.add(updateWorkstationConfigMethodDescriptor);
    methodDescriptors.add(deleteWorkstationConfigMethodDescriptor);
    methodDescriptors.add(getWorkstationMethodDescriptor);
    methodDescriptors.add(listWorkstationsMethodDescriptor);
    methodDescriptors.add(listUsableWorkstationsMethodDescriptor);
    methodDescriptors.add(createWorkstationMethodDescriptor);
    methodDescriptors.add(updateWorkstationMethodDescriptor);
    methodDescriptors.add(deleteWorkstationMethodDescriptor);
    methodDescriptors.add(startWorkstationMethodDescriptor);
    methodDescriptors.add(stopWorkstationMethodDescriptor);
    methodDescriptors.add(generateAccessTokenMethodDescriptor);
    methodDescriptors.add(setIamPolicyMethodDescriptor);
    methodDescriptors.add(getIamPolicyMethodDescriptor);
    methodDescriptors.add(testIamPermissionsMethodDescriptor);
    return methodDescriptors;
  }
Constructs an instance of HttpJsonWorkstationsStub, 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-workstations/google-cloud-workstations/src/main/java/com/google/cloud/workstations/v1/stub/HttpJsonWorkstationsStub.java