Class ContactName (2.3.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
NameDescription
projectString
contactString
Returns
TypeDescription
String

formatFolderContactName(String folder, String contact)

public static String formatFolderContactName(String folder, String contact)
Parameters
NameDescription
folderString
contactString
Returns
TypeDescription
String

formatOrganizationContactName(String organization, String contact)

public static String formatOrganizationContactName(String organization, String contact)
Parameters
NameDescription
organizationString
contactString
Returns
TypeDescription
String

formatProjectContactName(String project, String contact)

public static String formatProjectContactName(String project, String contact)
Parameters
NameDescription
projectString
contactString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newFolderContactBuilder()

public static ContactName.FolderContactBuilder newFolderContactBuilder()
Returns
TypeDescription
ContactName.FolderContactBuilder

newOrganizationContactBuilder()

public static ContactName.OrganizationContactBuilder newOrganizationContactBuilder()
Returns
TypeDescription
ContactName.OrganizationContactBuilder

newProjectContactBuilder()

public static ContactName.Builder newProjectContactBuilder()
Returns
TypeDescription
ContactName.Builder

of(String project, String contact)

public static ContactName of(String project, String contact)
Parameters
NameDescription
projectString
contactString
Returns
TypeDescription
ContactName

ofFolderContactName(String folder, String contact)

public static ContactName ofFolderContactName(String folder, String contact)
Parameters
NameDescription
folderString
contactString
Returns
TypeDescription
ContactName

ofOrganizationContactName(String organization, String contact)

public static ContactName ofOrganizationContactName(String organization, String contact)
Parameters
NameDescription
organizationString
contactString
Returns
TypeDescription
ContactName

ofProjectContactName(String project, String contact)

public static ContactName ofProjectContactName(String project, String contact)
Parameters
NameDescription
projectString
contactString
Returns
TypeDescription
ContactName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ContactName> values)

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

Constructors

ContactName()

protected ContactName()

Methods

equals(Object o)

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

getContact()

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

getFolder()

public String getFolder()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides