Class OrganizationName (1.3.0)

public class OrganizationName implements ResourceName

Inheritance

Object > OrganizationName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String organization)

public static String format(String organization)
Parameter
NameDescription
organizationString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String organization)

public static OrganizationName of(String organization)
Parameter
NameDescription
organizationString
Returns
TypeDescription
OrganizationName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<OrganizationName> values)

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

Constructors

OrganizationName()

protected OrganizationName()

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>

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides