Class MetadataName (0.55.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
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 MetadataName.Builder newBuilder()
Returns
Type Description
MetadataName.Builder

of(String property)

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

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<MetadataName> values)

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

Constructors

MetadataName() (deprecated)

protected MetadataName()

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

toString()

public String toString()
Returns
Type Description
String
Overrides