public static UntypedIamResourceName parse(String formattedString) { return new UntypedIamResourceName(formattedString); }
public static List<UntypedIamResourceName> parseList(List<String> formattedStrings) { List<UntypedIamResourceName> list = new ArrayList<>(formattedStrings.size()); for (String formattedString : formattedStrings) { list.add(parse(formattedString)); } return list; }
public static List<String> toStringList(List<UntypedIamResourceName> values) { List<String> list = new ArrayList<String>(values.size()); for (UntypedIamResourceName value : values) { if (value == null) { list.add(""); } else { list.add(value.toString()); } } return list; }
public static IamResourceName parse(String resourceNameString) { if (NoteName.isParsableFrom(resourceNameString)) { return NoteName.parse(resourceNameString); } if (OccurrenceName.isParsableFrom(resourceNameString)) { return OccurrenceName.parse(resourceNameString); } return UntypedIamResourceName.parse(resourceNameString); } }
public static UntypedIamResourceName from(ResourceName resourceName) { return new UntypedIamResourceName(resourceName.toString()); }
public static List<String> toStringList(List<UntypedIamResourceName> values) { List<String> list = new ArrayList<String>(values.size()); for (UntypedIamResourceName value : values) { if (value == null) { list.add(""); } else { list.add(value.toString()); } } return list; }
public static List<UntypedIamResourceName> parseList(List<String> formattedStrings) { List<UntypedIamResourceName> list = new ArrayList<>(formattedStrings.size()); for (String formattedString : formattedStrings) { list.add(parse(formattedString)); } return list; }
public static UntypedIamResourceName parse(String formattedString) { return new UntypedIamResourceName(formattedString); }
public static IamResourceName parse(String resourceNameString) { if (NoteName.isParsableFrom(resourceNameString)) { return NoteName.parse(resourceNameString); } if (OccurrenceName.isParsableFrom(resourceNameString)) { return OccurrenceName.parse(resourceNameString); } return UntypedIamResourceName.parse(resourceNameString); } }
public static UntypedIamResourceName from(ResourceName resourceName) { return new UntypedIamResourceName(resourceName.toString()); }