Class FieldName (1.13.0)

public class FieldName implements ResourceName

AUTO-GENERATED DOCUMENTATION AND CLASS

Inheritance

Object > FieldName

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 FieldName.Builder newBuilder()
Returns
TypeDescription
FieldName.Builder

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

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

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<FieldName> values)

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

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 FieldName.Builder toBuilder()
Returns
TypeDescription
FieldName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides