Class CaseName

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

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

      • CaseName

        @Deprecated
        protected CaseName()
        Deprecated.
    • Method Detail

      • getOrganization

        public String getOrganization()
      • getCase

        public String getCase()
      • getProject

        public String getProject()
      • newOrganizationCaseBuilder

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

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static CaseName.ProjectCaseBuilder newProjectCaseBuilder()
      • ofOrganizationCaseName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static CaseName ofOrganizationCaseName​(String organization,
                                                      String case_)
      • ofProjectCaseName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static CaseName ofProjectCaseName​(String project,
                                                 String case_)
      • formatOrganizationCaseName

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

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