Class PropertyName (0.34.0)

public class PropertyName implements ResourceName

Inheritance

Object > PropertyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String propertyId)

public static String format(String propertyId)
Parameter
NameDescription
propertyIdString
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 propertyId)

public static PropertyName of(String propertyId)
Parameter
NameDescription
propertyIdString
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>

getPropertyId()

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