Class CompanyName (0.12.0)

public class CompanyName implements ResourceName

Inheritance

Object > CompanyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String networkCode, String company)

public static String format(String networkCode, String company)
Parameters
Name Description
networkCode 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

of(String networkCode, String company)

public static CompanyName of(String networkCode, String company)
Parameters
Name Description
networkCode 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>

getNetworkCode()

public String getNetworkCode()
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