@Generated(value="by gapic-generator-java") public class DatabaseName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
DatabaseName.Builder
Builder for projects/{project}/databases/{database}.
|
Modifier | Constructor and Description |
---|---|
protected |
DatabaseName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String database) |
String |
getDatabase() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static DatabaseName.Builder |
newBuilder() |
static DatabaseName |
of(String project,
String database) |
static DatabaseName |
parse(String formattedString) |
static List<DatabaseName> |
parseList(List<String> formattedStrings) |
DatabaseName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<DatabaseName> values) |
@Deprecated protected DatabaseName()
public String getProject()
public String getDatabase()
public static DatabaseName.Builder newBuilder()
public DatabaseName.Builder toBuilder()
public static DatabaseName of(String project, String database)
public static DatabaseName parse(String formattedString)
public static List<DatabaseName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<DatabaseName> 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 © 2023 Google LLC. All rights reserved.