Class TagHoldName (1.43.0)

public class TagHoldName implements ResourceName

Inheritance

Object > TagHoldName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String tagValue, String tagHold)

public static String format(String tagValue, String tagHold)
Parameters
NameDescription
tagValueString
tagHoldString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String tagValue, String tagHold)

public static TagHoldName of(String tagValue, String tagHold)
Parameters
NameDescription
tagValueString
tagHoldString
Returns
TypeDescription
TagHoldName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TagHoldName> values)

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

Constructors

TagHoldName() (deprecated)

protected TagHoldName()

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>

getTagHold()

public String getTagHold()
Returns
TypeDescription
String

getTagValue()

public String getTagValue()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides