Class ConstraintName

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

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

      • ConstraintName

        @Deprecated
        protected ConstraintName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getConstraint

        public String getConstraint()
      • getFolder

        public String getFolder()
      • getOrganization

        public String getOrganization()
      • newProjectConstraintBuilder

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

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static ConstraintName.FolderConstraintBuilder newFolderConstraintBuilder()
      • newOrganizationConstraintBuilder

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static ConstraintName.OrganizationConstraintBuilder newOrganizationConstraintBuilder()
      • ofProjectConstraintName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static ConstraintName ofProjectConstraintName​(String project,
                                                             String constraint)
      • ofFolderConstraintName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static ConstraintName ofFolderConstraintName​(String folder,
                                                            String constraint)
      • ofOrganizationConstraintName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static ConstraintName ofOrganizationConstraintName​(String organization,
                                                                  String constraint)
      • formatProjectConstraintName

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

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatFolderConstraintName​(String folder,
                                                        String constraint)
      • formatOrganizationConstraintName

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