Class 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
    • 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()
      • 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()
      • 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)
      • isParsableFrom

        public static boolean isParsableFrom​(String formattedString)
      • getFieldValuesMap

        public Map<String,​String> getFieldValuesMap()
        Specified by:
        getFieldValuesMap in interface com.google.api.resourcenames.ResourceName
      • getFieldValue

        public String getFieldValue​(String fieldName)
        Specified by:
        getFieldValue in interface com.google.api.resourcenames.ResourceName
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object