Class PropertyName (0.58.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
Name Description
property String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static PropertyName.Builder newBuilder()
Returns
Type Description
PropertyName.Builder

of(String property)

public static PropertyName of(String property)
Parameter
Name Description
property String
Returns
Type Description
PropertyName

parse(String formattedString)

public static PropertyName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
PropertyName

parseList(List<String> formattedStrings)

public static List<PropertyName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<PropertyName>

toStringList(List<PropertyName> values)

public static List<String> toStringList(List<PropertyName> values)
Parameter
Name Description
values List<PropertyName>
Returns
Type Description
List<String>

Constructors

PropertyName() (deprecated)

protected PropertyName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getProperty()

public String getProperty()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public PropertyName.Builder toBuilder()
Returns
Type Description
PropertyName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides