Class CompanyName (2.52.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
Name Description
project String
tenant String
company String
Returns
Type Description
String

formatProjectCompanyName(String project, String company)

public static String formatProjectCompanyName(String project, String company)
Parameters
Name Description
project String
company String
Returns
Type Description
String

formatProjectTenantCompanyName(String project, String tenant, String company)

public static String formatProjectTenantCompanyName(String project, String tenant, String company)
Parameters
Name Description
project String
tenant String
company 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 CompanyName.Builder newBuilder()
Returns
Type Description
CompanyName.Builder

newProjectCompanyBuilder()

public static CompanyName.ProjectCompanyBuilder newProjectCompanyBuilder()
Returns
Type Description
CompanyName.ProjectCompanyBuilder

newProjectTenantCompanyBuilder()

public static CompanyName.Builder newProjectTenantCompanyBuilder()
Returns
Type Description
CompanyName.Builder

of(String project, String tenant, String company)

public static CompanyName of(String project, String tenant, String company)
Parameters
Name Description
project String
tenant String
company String
Returns
Type Description
CompanyName

ofProjectCompanyName(String project, String company)

public static CompanyName ofProjectCompanyName(String project, String company)
Parameters
Name Description
project String
company String
Returns
Type Description
CompanyName

ofProjectTenantCompanyName(String project, String tenant, String company)

public static CompanyName ofProjectTenantCompanyName(String project, String tenant, String company)
Parameters
Name Description
project String
tenant String
company String
Returns
Type Description
CompanyName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CompanyName> values)

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

Constructors

CompanyName() (deprecated)

protected CompanyName()

Methods

equals(Object o)

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

getCompany()

public String getCompany()
Returns
Type Description
String

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>

getProject()

public String getProject()
Returns
Type Description
String

getTenant()

public String getTenant()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides