@InternalApi
  public static List<ApiMethodDescriptor> getMethodDescriptors() {
    List<ApiMethodDescriptor> methodDescriptors = new ArrayList<>();
    methodDescriptors.add(listSourcesMethodDescriptor);
    methodDescriptors.add(getSourceMethodDescriptor);
    methodDescriptors.add(createSourceMethodDescriptor);
    methodDescriptors.add(updateSourceMethodDescriptor);
    methodDescriptors.add(deleteSourceMethodDescriptor);
    methodDescriptors.add(fetchInventoryMethodDescriptor);
    methodDescriptors.add(listUtilizationReportsMethodDescriptor);
    methodDescriptors.add(getUtilizationReportMethodDescriptor);
    methodDescriptors.add(createUtilizationReportMethodDescriptor);
    methodDescriptors.add(deleteUtilizationReportMethodDescriptor);
    methodDescriptors.add(listDatacenterConnectorsMethodDescriptor);
    methodDescriptors.add(getDatacenterConnectorMethodDescriptor);
    methodDescriptors.add(createDatacenterConnectorMethodDescriptor);
    methodDescriptors.add(deleteDatacenterConnectorMethodDescriptor);
    methodDescriptors.add(upgradeApplianceMethodDescriptor);
    methodDescriptors.add(createMigratingVmMethodDescriptor);
    methodDescriptors.add(listMigratingVmsMethodDescriptor);
    methodDescriptors.add(getMigratingVmMethodDescriptor);
    methodDescriptors.add(updateMigratingVmMethodDescriptor);
    methodDescriptors.add(deleteMigratingVmMethodDescriptor);
    methodDescriptors.add(startMigrationMethodDescriptor);
    methodDescriptors.add(resumeMigrationMethodDescriptor);
    methodDescriptors.add(pauseMigrationMethodDescriptor);
    methodDescriptors.add(finalizeMigrationMethodDescriptor);
    methodDescriptors.add(createCloneJobMethodDescriptor);
    methodDescriptors.add(cancelCloneJobMethodDescriptor);
    methodDescriptors.add(listCloneJobsMethodDescriptor);
    methodDescriptors.add(getCloneJobMethodDescriptor);
    methodDescriptors.add(createCutoverJobMethodDescriptor);
    methodDescriptors.add(cancelCutoverJobMethodDescriptor);
    methodDescriptors.add(listCutoverJobsMethodDescriptor);
    methodDescriptors.add(getCutoverJobMethodDescriptor);
    methodDescriptors.add(listGroupsMethodDescriptor);
    methodDescriptors.add(getGroupMethodDescriptor);
    methodDescriptors.add(createGroupMethodDescriptor);
    methodDescriptors.add(updateGroupMethodDescriptor);
    methodDescriptors.add(deleteGroupMethodDescriptor);
    methodDescriptors.add(addGroupMigrationMethodDescriptor);
    methodDescriptors.add(removeGroupMigrationMethodDescriptor);
    methodDescriptors.add(listTargetProjectsMethodDescriptor);
    methodDescriptors.add(getTargetProjectMethodDescriptor);
    methodDescriptors.add(createTargetProjectMethodDescriptor);
    methodDescriptors.add(updateTargetProjectMethodDescriptor);
    methodDescriptors.add(deleteTargetProjectMethodDescriptor);
    methodDescriptors.add(listReplicationCyclesMethodDescriptor);
    methodDescriptors.add(getReplicationCycleMethodDescriptor);
    methodDescriptors.add(listLocationsMethodDescriptor);
    methodDescriptors.add(getLocationMethodDescriptor);
    return methodDescriptors;
  }
Constructs an instance of HttpJsonVmMigrationStub, 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-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/HttpJsonVmMigrationStub.java