Class ContactName
- java.lang.Object
-
- com.google.cloud.essentialcontacts.v1.ContactName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class ContactName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContactName.Builder
Builder for projects/{project}/contacts/{contact}.static class
ContactName.FolderContactBuilder
Builder for folders/{folder}/contacts/{contact}.static class
ContactName.OrganizationContactBuilder
Builder for organizations/{organization}/contacts/{contact}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ContactName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
ContactName
@Deprecated protected ContactName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getContact
public String getContact()
-
getFolder
public String getFolder()
-
getOrganization
public String getOrganization()
-
newBuilder
public static ContactName.Builder newBuilder()
-
newProjectContactBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ContactName.Builder newProjectContactBuilder()
-
newFolderContactBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ContactName.FolderContactBuilder newFolderContactBuilder()
-
newOrganizationContactBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static ContactName.OrganizationContactBuilder newOrganizationContactBuilder()
-
toBuilder
public ContactName.Builder toBuilder()
-
of
public static ContactName of(String project, String contact)
-
ofProjectContactName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ContactName ofProjectContactName(String project, String contact)
-
ofFolderContactName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ContactName ofFolderContactName(String folder, String contact)
-
ofOrganizationContactName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static ContactName ofOrganizationContactName(String organization, String contact)
-
formatProjectContactName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectContactName(String project, String contact)
-
formatFolderContactName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderContactName(String folder, String contact)
-
formatOrganizationContactName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationContactName(String organization, String contact)
-
parse
public static ContactName parse(String formattedString)
-
parseList
public static List<ContactName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<ContactName> 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
-
-