@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()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static SessionName.Builder newProjectLocationAgentSessionBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static SessionName.ProjectLocationAgentEnvironmentSessionBuilder newProjectLocationAgentEnvironmentSessionBuilder()
public SessionName.Builder toBuilder()
public static SessionName of(String project, String location, String agent, String session)
@BetaApi(value="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)
@BetaApi(value="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)
@BetaApi(value="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)
@BetaApi(value="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)
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 © 2022 Google LLC. All rights reserved.