Class CompanyName (2.36.0)

public class CompanyName implements ResourceName

Inheritance

Object > CompanyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String tenant, String company)

public static String format(String project, String tenant, String company)
Parameters
NameDescription
projectString
tenantString
companyString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String tenant, String company)

public static CompanyName of(String project, String tenant, String company)
Parameters
NameDescription
projectString
tenantString
companyString
Returns
TypeDescription
CompanyName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CompanyName> values)

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

Constructors

CompanyName() (deprecated)

protected CompanyName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getCompany()

public String getCompany()
Returns
TypeDescription
String

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>

getProject()

public String getProject()
Returns
TypeDescription
String

getTenant()

public String getTenant()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides