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 class
CustomerName.Builder
Builder for accounts/{account}/customers/{customer}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CustomerName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static String
format(String account, String customer)
String
getAccount()
String
getCustomer()
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static CustomerName.Builder
newBuilder()
static CustomerName
of(String account, String customer)
static CustomerName
parse(String formattedString)
static List<CustomerName>
parseList(List<String> formattedStrings)
CustomerName.Builder
toBuilder()
String
toString()
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:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-