Class KnowledgeBaseName

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

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

      • KnowledgeBaseName

        @Deprecated
        protected KnowledgeBaseName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getKnowledgeBase

        public String getKnowledgeBase()
      • getLocation

        public String getLocation()
      • newProjectKnowledgeBaseBuilder

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

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static KnowledgeBaseName ofProjectKnowledgeBaseName​(String project,
                                                                   String knowledgeBase)
      • ofProjectLocationKnowledgeBaseName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static KnowledgeBaseName ofProjectLocationKnowledgeBaseName​(String project,
                                                                           String location,
                                                                           String knowledgeBase)
      • formatProjectKnowledgeBaseName

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

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