Class SessionName
- java.lang.Object
-
- com.google.cloud.dialogflow.cx.v3.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}/locations/{location}/agents/{agent}/sessions/{session}.static class
SessionName.ProjectLocationAgentEnvironmentSessionBuilder
Builder for projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/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()
-
getLocation
public String getLocation()
-
getAgent
public String getAgent()
-
getSession
public String getSession()
-
getEnvironment
public String getEnvironment()
-
newBuilder
public static SessionName.Builder newBuilder()
-
newProjectLocationAgentSessionBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SessionName.Builder newProjectLocationAgentSessionBuilder()
-
newProjectLocationAgentEnvironmentSessionBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SessionName.ProjectLocationAgentEnvironmentSessionBuilder newProjectLocationAgentEnvironmentSessionBuilder()
-
toBuilder
public SessionName.Builder toBuilder()
-
of
public static SessionName of(String project, String location, String agent, String session)
-
ofProjectLocationAgentSessionName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SessionName ofProjectLocationAgentSessionName(String project, String location, String agent, String session)
-
ofProjectLocationAgentEnvironmentSessionName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SessionName ofProjectLocationAgentEnvironmentSessionName(String project, String location, String agent, String environment, String session)
-
formatProjectLocationAgentSessionName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationAgentSessionName(String project, String location, String agent, String session)
-
formatProjectLocationAgentEnvironmentSessionName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationAgentEnvironmentSessionName(String project, String location, String agent, String environment, 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
-
-