@Generated(value="by gapic-generator-java") public class LocationName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
LocationName.Builder
Builder for organizations/{organization}/locations/{location}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
LocationName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String organization,
String location) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getOrganization() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static LocationName.Builder |
newBuilder() |
static LocationName |
of(String organization,
String location) |
static LocationName |
parse(String formattedString) |
static List<LocationName> |
parseList(List<String> formattedStrings) |
LocationName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<LocationName> values) |
@Deprecated protected LocationName()
public String getOrganization()
public String getLocation()
public static LocationName.Builder newBuilder()
public LocationName.Builder toBuilder()
public static LocationName of(String organization, String location)
public static LocationName parse(String formattedString)
public static List<LocationName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<LocationName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2023 Google LLC. All rights reserved.