Class DatabaseName (3.2.0)

public class DatabaseName implements ResourceName

Inheritance

Object > DatabaseName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String database)

public static String format(String project, String database)
Parameters
NameDescription
projectString
databaseString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static DatabaseName.Builder newBuilder()
Returns
TypeDescription
DatabaseName.Builder

of(String project, String database)

public static DatabaseName of(String project, String database)
Parameters
NameDescription
projectString
databaseString
Returns
TypeDescription
DatabaseName

parse(String formattedString)

public static DatabaseName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
DatabaseName

parseList(List<String> formattedStrings)

public static List<DatabaseName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<DatabaseName>

toStringList(List<DatabaseName> values)

public static List<String> toStringList(List<DatabaseName> values)
Parameter
NameDescription
valuesList<DatabaseName>
Returns
TypeDescription
List<String>

Constructors

DatabaseName()

protected DatabaseName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getDatabase()

public String getDatabase()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public DatabaseName.Builder toBuilder()
Returns
TypeDescription
DatabaseName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides