@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}/instances/{instance}/databases/{database}/sessions/{session}.
|
Modifier | Constructor and Description |
---|---|
protected |
SessionName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String instance,
String database,
String session) |
String |
getDatabase() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getInstance() |
String |
getProject() |
String |
getSession() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static SessionName.Builder |
newBuilder() |
static SessionName |
of(String project,
String instance,
String database,
String session) |
static SessionName |
parse(String formattedString) |
static List<SessionName> |
parseList(List<String> formattedStrings) |
SessionName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<SessionName> values) |
@Deprecated protected SessionName()
public String getProject()
public String getInstance()
public String getDatabase()
public String getSession()
public static SessionName.Builder newBuilder()
public SessionName.Builder toBuilder()
public static SessionName of(String project, String instance, String database, String session)
public static String format(String project, String instance, String database, 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.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2022 Google LLC. All rights reserved.