@Generated(value="by GAPIC protoc plugin") public class DatabaseRootName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
DatabaseRootName.Builder
Builder for DatabaseRootName.
|
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 DatabaseRootName.Builder |
newBuilder() |
static DatabaseRootName |
of(String project,
String database) |
static DatabaseRootName |
parse(String formattedString) |
static List<DatabaseRootName> |
parseList(List<String> formattedStrings) |
DatabaseRootName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<DatabaseRootName> values) |
public String getProject()
public String getDatabase()
public static DatabaseRootName.Builder newBuilder()
public DatabaseRootName.Builder toBuilder()
public static DatabaseRootName of(String project, String database)
public static DatabaseRootName parse(String formattedString)
public static List<DatabaseRootName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<DatabaseRootName> 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.