Class MetadataName (0.50.0)

public class MetadataName implements ResourceName

Inheritance

Object > MetadataName

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

of(String property)

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

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<MetadataName> values)

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

Constructors

MetadataName() (deprecated)

protected MetadataName()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides