Class TagKeyName (1.43.0)

public class TagKeyName implements ResourceName

Inheritance

Object > TagKeyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String tagKey)

public static String format(String tagKey)
Parameter
NameDescription
tagKeyString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String tagKey)

public static TagKeyName of(String tagKey)
Parameter
NameDescription
tagKeyString
Returns
TypeDescription
TagKeyName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TagKeyName> values)

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

Constructors

TagKeyName() (deprecated)

protected TagKeyName()

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>

getTagKey()

public String getTagKey()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides