Class ContactName (0.7.0)

public class ContactName implements ResourceName

Inheritance

Object > ContactName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String networkCode, String contact)

public static String format(String networkCode, String contact)
Parameters
Name Description
networkCode String
contact 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 ContactName.Builder newBuilder()
Returns
Type Description
ContactName.Builder

of(String networkCode, String contact)

public static ContactName of(String networkCode, String contact)
Parameters
Name Description
networkCode String
contact String
Returns
Type Description
ContactName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ContactName> values)

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

Constructors

ContactName() (deprecated)

protected ContactName()

Methods

equals(Object o)

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

getContact()

public String getContact()
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 ContactName.Builder toBuilder()
Returns
Type Description
ContactName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides