Class PropertyName (0.40.0)

public class PropertyName implements ResourceName

Inheritance

Object > PropertyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String property)

public static String format(String property)
Parameter
NameDescription
propertyString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String property)

public static PropertyName of(String property)
Parameter
NameDescription
propertyString
Returns
TypeDescription
PropertyName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<PropertyName> values)

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

Constructors

PropertyName()

protected PropertyName()

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>

getProperty()

public String getProperty()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides