Class TagValueName (1.56.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
Name Description
tagValue String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static TagValueName.Builder newBuilder()
Returns
Type Description
TagValueName.Builder

of(String tagValue)

public static TagValueName of(String tagValue)
Parameter
Name Description
tagValue String
Returns
Type Description
TagValueName

parse(String formattedString)

public static TagValueName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
TagValueName

parseList(List<String> formattedStrings)

public static List<TagValueName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<TagValueName>

toStringList(List<TagValueName> values)

public static List<String> toStringList(List<TagValueName> values)
Parameter
Name Description
values List<TagValueName>
Returns
Type Description
List<String>

Constructors

TagValueName() (deprecated)

protected TagValueName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getTagValue()

public String getTagValue()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public TagValueName.Builder toBuilder()
Returns
Type Description
TagValueName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides