Class GroupName

  • All Implemented Interfaces:
    com.google.api.resourcenames.ResourceName

    @Generated("by gapic-generator-java")
    public class GroupName
    extends Object
    implements com.google.api.resourcenames.ResourceName
    • Constructor Detail

      • GroupName

        @Deprecated
        protected GroupName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getGroup

        public String getGroup()
      • getOrganization

        public String getOrganization()
      • getFolder

        public String getFolder()
      • newProjectGroupBuilder

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static GroupName.Builder newProjectGroupBuilder()
      • newOrganizationGroupBuilder

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static GroupName.OrganizationGroupBuilder newOrganizationGroupBuilder()
      • newFolderGroupBuilder

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static GroupName.FolderGroupBuilder newFolderGroupBuilder()
      • ofProjectGroupName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static GroupName ofProjectGroupName​(String project,
                                                   String group)
      • ofOrganizationGroupName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static GroupName ofOrganizationGroupName​(String organization,
                                                        String group)
      • ofFolderGroupName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static GroupName ofFolderGroupName​(String folder,
                                                  String group)
      • formatProjectGroupName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatProjectGroupName​(String project,
                                                    String group)
      • formatOrganizationGroupName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatOrganizationGroupName​(String organization,
                                                         String group)
      • formatFolderGroupName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatFolderGroupName​(String folder,
                                                   String group)
      • 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