Class TagValueName (1.7.0)

public class TagValueName implements ResourceName

Inheritance

Object > TagValueName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String tagValue)

public static String format(String tagValue)
Parameter
NameDescription
tagValueString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String tagValue)

public static TagValueName of(String tagValue)
Parameter
NameDescription
tagValueString
Returns
TypeDescription
TagValueName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TagValueName> values)

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

Constructors

TagValueName()

protected TagValueName()

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>

getTagValue()

public String getTagValue()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides