Package com.google.cloud.channel.v1
Class CustomerName
- java.lang.Object
-
- com.google.cloud.channel.v1.CustomerName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class CustomerName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomerName.BuilderBuilder for accounts/{account}/customers/{customer}.
-
Constructor Summary
Constructors Modifier Constructor Description protectedCustomerName()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static Stringformat(String account, String customer)StringgetAccount()StringgetCustomer()StringgetFieldValue(String fieldName)Map<String,String>getFieldValuesMap()inthashCode()static booleanisParsableFrom(String formattedString)static CustomerName.BuildernewBuilder()static CustomerNameof(String account, String customer)static CustomerNameparse(String formattedString)static List<CustomerName>parseList(List<String> formattedStrings)CustomerName.BuildertoBuilder()StringtoString()static List<String>toStringList(List<CustomerName> values)
-
-
-
Constructor Detail
-
CustomerName
@Deprecated protected CustomerName()
Deprecated.
-
-
Method Detail
-
getAccount
public String getAccount()
-
getCustomer
public String getCustomer()
-
newBuilder
public static CustomerName.Builder newBuilder()
-
toBuilder
public CustomerName.Builder toBuilder()
-
of
public static CustomerName of(String account, String customer)
-
parse
public static CustomerName parse(String formattedString)
-
parseList
public static List<CustomerName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<CustomerName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMapin interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValuein interfacecom.google.api.resourcenames.ResourceName
-
-