Class SpaceName (0.2.0)

public class SpaceName implements ResourceName

Inheritance

Object > SpaceName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String space)

public static String format(String space)
Parameter
NameDescription
spaceString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String space)

public static SpaceName of(String space)
Parameter
NameDescription
spaceString
Returns
TypeDescription
SpaceName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<SpaceName> values)

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

Constructors

SpaceName() (deprecated)

protected SpaceName()

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>

getSpace()

public String getSpace()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides