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