Class VersionName

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

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

      • VersionName

        @Deprecated
        protected VersionName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getVersion

        public String getVersion()
      • getLocation

        public String getLocation()
      • newProjectVersionBuilder

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

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static VersionName.ProjectLocationVersionBuilder newProjectLocationVersionBuilder()
      • ofProjectVersionName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static VersionName ofProjectVersionName​(String project,
                                                       String version)
      • ofProjectLocationVersionName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static VersionName ofProjectLocationVersionName​(String project,
                                                               String location,
                                                               String version)
      • formatProjectVersionName

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

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