Class DocumentName

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

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

      • DocumentName

        @Deprecated
        protected DocumentName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getLocation

        public String getLocation()
      • getDataStore

        public String getDataStore()
      • getBranch

        public String getBranch()
      • getDocument

        public String getDocument()
      • getCollection

        public String getCollection()
      • newProjectLocationDataStoreBranchDocumentBuilder

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

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static DocumentName ofProjectLocationDataStoreBranchDocumentName​(String project,
                                                                                String location,
                                                                                String dataStore,
                                                                                String branch,
                                                                                String document)
      • ofProjectLocationCollectionDataStoreBranchDocumentName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static DocumentName ofProjectLocationCollectionDataStoreBranchDocumentName​(String project,
                                                                                          String location,
                                                                                          String collection,
                                                                                          String dataStore,
                                                                                          String branch,
                                                                                          String document)
      • formatProjectLocationDataStoreBranchDocumentName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatProjectLocationDataStoreBranchDocumentName​(String project,
                                                                              String location,
                                                                              String dataStore,
                                                                              String branch,
                                                                              String document)
      • formatProjectLocationCollectionDataStoreBranchDocumentName

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