@Generated(value="by gapic-generator-java") public class RegionName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
RegionName.Builder
Builder for projects/{project}/regions/{region}.
|
Modifier | Constructor and Description |
---|---|
protected |
RegionName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String region) |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
String |
getRegion() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static RegionName.Builder |
newBuilder() |
static RegionName |
of(String project,
String region) |
static RegionName |
parse(String formattedString) |
static List<RegionName> |
parseList(List<String> formattedStrings) |
RegionName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<RegionName> values) |
@Deprecated protected RegionName()
public String getProject()
public String getRegion()
public static RegionName.Builder newBuilder()
public RegionName.Builder toBuilder()
public static RegionName of(String project, String region)
public static RegionName parse(String formattedString)
public static List<RegionName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<RegionName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2022 Google LLC. All rights reserved.