Class InstanceName

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

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

      • InstanceName

        @Deprecated
        protected InstanceName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getZone

        public String getZone()
      • getInstance

        public String getInstance()
      • getLocation

        public String getLocation()
      • newProjectZoneInstanceBuilder

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

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static InstanceName.ProjectLocationInstanceBuilder newProjectLocationInstanceBuilder()
      • ofProjectZoneInstanceName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static InstanceName ofProjectZoneInstanceName​(String project,
                                                             String zone,
                                                             String instance)
      • ofProjectLocationInstanceName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static InstanceName ofProjectLocationInstanceName​(String project,
                                                                 String location,
                                                                 String instance)
      • formatProjectZoneInstanceName

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatProjectZoneInstanceName​(String project,
                                                           String zone,
                                                           String instance)
      • formatProjectLocationInstanceName

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