Class RegionName (4.14.0)

public class RegionName implements ResourceName

Inheritance

Object > RegionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String region)

public static String format(String project, String region)
Parameters
NameDescription
projectString
regionString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static RegionName.Builder newBuilder()
Returns
TypeDescription
RegionName.Builder

of(String project, String region)

public static RegionName of(String project, String region)
Parameters
NameDescription
projectString
regionString
Returns
TypeDescription
RegionName

parse(String formattedString)

public static RegionName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
RegionName

parseList(List<String> formattedStrings)

public static List<RegionName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<RegionName>

toStringList(List<RegionName> values)

public static List<String> toStringList(List<RegionName> values)
Parameter
NameDescription
valuesList<RegionName>
Returns
TypeDescription
List<String>

Constructors

RegionName()

protected RegionName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getProject()

public String getProject()
Returns
TypeDescription
String

getRegion()

public String getRegion()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public RegionName.Builder toBuilder()
Returns
TypeDescription
RegionName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides