Class BranchName

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

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

      • BranchName

        @Deprecated
        protected BranchName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getLocation

        public String getLocation()
      • getDataStore

        public String getDataStore()
      • getBranch

        public String getBranch()
      • getCollection

        public String getCollection()
      • newProjectLocationDataStoreBranchBuilder

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

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

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

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

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