Class TagTemplateFieldEnumValueName (1.21.0)

public class TagTemplateFieldEnumValueName implements ResourceName

Inheritance

Object > TagTemplateFieldEnumValueName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String tagTemplate, String tagTemplateFieldId, String enumValueDisplayName)

public static String format(String project, String location, String tagTemplate, String tagTemplateFieldId, String enumValueDisplayName)
Parameters
NameDescription
projectString
locationString
tagTemplateString
tagTemplateFieldIdString
enumValueDisplayNameString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String tagTemplate, String tagTemplateFieldId, String enumValueDisplayName)

public static TagTemplateFieldEnumValueName of(String project, String location, String tagTemplate, String tagTemplateFieldId, String enumValueDisplayName)
Parameters
NameDescription
projectString
locationString
tagTemplateString
tagTemplateFieldIdString
enumValueDisplayNameString
Returns
TypeDescription
TagTemplateFieldEnumValueName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TagTemplateFieldEnumValueName> values)

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

Constructors

TagTemplateFieldEnumValueName()

protected TagTemplateFieldEnumValueName()

Methods

equals(Object o)

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

getEnumValueDisplayName()

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

getTagTemplateFieldId()

public String getTagTemplateFieldId()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides