Class CustomerName (3.7.6)

public class CustomerName implements ResourceName

Inheritance

Object > CustomerName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String account, String customer)

public static String format(String account, String customer)
Parameters
NameDescription
accountString
customerString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String account, String customer)

public static CustomerName of(String account, String customer)
Parameters
NameDescription
accountString
customerString
Returns
TypeDescription
CustomerName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CustomerName> values)

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

Constructors

CustomerName()

protected CustomerName()

Methods

equals(Object o)

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

getAccount()

public String getAccount()
Returns
TypeDescription
String

getCustomer()

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides