Package com.google.cloud.dialogflow.v2
Class SessionName
- java.lang.Object
-
- com.google.cloud.dialogflow.v2.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SessionName.Builder
Builder for projects/{project}/agent/sessions/{session}.static class
SessionName.ProjectEnvironmentUserSessionBuilder
Builder for projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}.static class
SessionName.ProjectLocationEnvironmentUserSessionBuilder
Builder for projects/{project}/locations/{location}/agent/environments/{environment}/users/{user}/sessions/{session}.static class
SessionName.ProjectLocationSessionBuilder
Builder for projects/{project}/locations/{location}/agent/sessions/{session}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
SessionName()
Deprecated.
-
Method Summary
-
-
-
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()
-
newBuilder
public static SessionName.Builder newBuilder()
-
newProjectSessionBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SessionName.Builder newProjectSessionBuilder()
-
newProjectEnvironmentUserSessionBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SessionName.ProjectEnvironmentUserSessionBuilder newProjectEnvironmentUserSessionBuilder()
-
newProjectLocationSessionBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SessionName.ProjectLocationSessionBuilder newProjectLocationSessionBuilder()
-
newProjectLocationEnvironmentUserSessionBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SessionName.ProjectLocationEnvironmentUserSessionBuilder newProjectLocationEnvironmentUserSessionBuilder()
-
toBuilder
public SessionName.Builder toBuilder()
-
of
public static SessionName of(String project, String session)
-
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)
-
parse
public static SessionName parse(String formattedString)
-
parseList
public static List<SessionName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<SessionName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-