Class TagName (1.42.0)

public class TagName implements ResourceName

Inheritance

Object > TagName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String entryGroup, String entry, String tag)

public static String format(String project, String location, String entryGroup, String entry, String tag)
Parameters
NameDescription
projectString
locationString
entryGroupString
entryString
tagString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String entryGroup, String entry, String tag)

public static TagName of(String project, String location, String entryGroup, String entry, String tag)
Parameters
NameDescription
projectString
locationString
entryGroupString
entryString
tagString
Returns
TypeDescription
TagName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TagName> values)

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

Constructors

TagName() (deprecated)

protected TagName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getEntry()

public String getEntry()
Returns
TypeDescription
String

getEntryGroup()

public String getEntryGroup()
Returns
TypeDescription
String

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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getTag()

public String getTag()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides