@Generated(value="by gapic-generator-java") public class SessionName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and 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}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SessionName()
Deprecated.
|
@Deprecated protected SessionName()
public String getProject()
public String getLocation()
public String getAgent()
public String getSession()
public String getEnvironment()
public static SessionName.Builder newBuilder()
public static SessionName.Builder newProjectLocationAgentSessionBuilder()
public static SessionName.ProjectLocationAgentEnvironmentSessionBuilder newProjectLocationAgentEnvironmentSessionBuilder()
public SessionName.Builder toBuilder()
public static SessionName of(String project, String location, String agent, String session)
public static SessionName ofProjectLocationAgentSessionName(String project, String location, String agent, String session)
public static SessionName ofProjectLocationAgentEnvironmentSessionName(String project, String location, String agent, String environment, String session)
public static String formatProjectLocationAgentSessionName(String project, String location, String agent, String session)
public static String formatProjectLocationAgentEnvironmentSessionName(String project, String location, String agent, String environment, String session)
public static SessionName parse(String formattedString)
public static List<SessionName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<SessionName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2025 Google LLC. All rights reserved.