- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.0
- 2.1.11
public class ContactName implements ResourceName
Implements
com.google.api.resourcenames.ResourceNameStatic 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()
protected ContactName()
Methods
equals(Object o)
public boolean equals(Object o)
Parameter | |
---|---|
Name | Description |
o | Object |
Returns | |
---|---|
Type | Description |
boolean |
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 |
toBuilder()
public ContactName.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ContactName.Builder |
toString()
public String toString()
Returns | |
---|---|
Type | Description |
String |