Class SessionName

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

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

      • SessionName

        @Deprecated
        protected SessionName()
        Deprecated.
    • Method Detail

      • getProject

        public String getProject()
      • getSession

        public String getSession()
      • getEnvironment

        public String getEnvironment()
      • getUser

        public String getUser()
      • getLocation

        public String getLocation()
      • newProjectSessionBuilder

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

        @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
        public static SessionName.ProjectLocationSessionBuilder newProjectLocationSessionBuilder()
      • ofProjectSessionName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static SessionName ofProjectSessionName​(String project,
                                                       String session)
      • ofProjectEnvironmentUserSessionName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static SessionName ofProjectEnvironmentUserSessionName​(String project,
                                                                      String environment,
                                                                      String user,
                                                                      String session)
      • ofProjectLocationSessionName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static SessionName ofProjectLocationSessionName​(String project,
                                                               String location,
                                                               String session)
      • ofProjectLocationEnvironmentUserSessionName

        @BetaApi("The static create methods are not stable yet and may be changed in the future.")
        public static SessionName ofProjectLocationEnvironmentUserSessionName​(String project,
                                                                              String location,
                                                                              String environment,
                                                                              String user,
                                                                              String session)
      • formatProjectSessionName

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

        @BetaApi("The static format methods are not stable yet and may be changed in the future.")
        public static String formatProjectEnvironmentUserSessionName​(String project,
                                                                     String environment,
                                                                     String user,
                                                                     String session)
      • formatProjectLocationSessionName

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

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