Class TagTemplateFieldName (1.20.0)

public class TagTemplateFieldName implements ResourceName

Inheritance

Object > TagTemplateFieldName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String tagTemplate, String field)

public static String format(String project, String location, String tagTemplate, String field)
Parameters
NameDescription
projectString
locationString
tagTemplateString
fieldString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String tagTemplate, String field)

public static TagTemplateFieldName of(String project, String location, String tagTemplate, String field)
Parameters
NameDescription
projectString
locationString
tagTemplateString
fieldString
Returns
TypeDescription
TagTemplateFieldName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TagTemplateFieldName> values)

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

Constructors

TagTemplateFieldName()

protected TagTemplateFieldName()

Methods

equals(Object o)

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

getField()

public String getField()
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

getTagTemplate()

public String getTagTemplate()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides