Class ContactName (2.46.0)

public class ContactName implements ResourceName

Inheritance

Object > ContactName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String contact)

public static String format(String project, String contact)
Parameters
Name Description
project String
contact String
Returns
Type Description
String

formatFolderContactName(String folder, String contact)

public static String formatFolderContactName(String folder, String contact)
Parameters
Name Description
folder String
contact String
Returns
Type Description
String

formatOrganizationContactName(String organization, String contact)

public static String formatOrganizationContactName(String organization, String contact)
Parameters
Name Description
organization String
contact String
Returns
Type Description
String

formatProjectContactName(String project, String contact)

public static String formatProjectContactName(String project, String contact)
Parameters
Name Description
project 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

newFolderContactBuilder()

public static ContactName.FolderContactBuilder newFolderContactBuilder()
Returns
Type Description
ContactName.FolderContactBuilder

newOrganizationContactBuilder()

public static ContactName.OrganizationContactBuilder newOrganizationContactBuilder()
Returns
Type Description
ContactName.OrganizationContactBuilder

newProjectContactBuilder()

public static ContactName.Builder newProjectContactBuilder()
Returns
Type Description
ContactName.Builder

of(String project, String contact)

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

ofFolderContactName(String folder, String contact)

public static ContactName ofFolderContactName(String folder, String contact)
Parameters
Name Description
folder String
contact String
Returns
Type Description
ContactName

ofOrganizationContactName(String organization, String contact)

public static ContactName ofOrganizationContactName(String organization, String contact)
Parameters
Name Description
organization String
contact String
Returns
Type Description
ContactName

ofProjectContactName(String project, String contact)

public static ContactName ofProjectContactName(String project, String contact)
Parameters
Name Description
project 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>

getFolder()

public String getFolder()
Returns
Type Description
String

getOrganization()

public String getOrganization()
Returns
Type Description
String

getProject()

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