Class DatabaseRootName (3.4.2)

public class DatabaseRootName implements ResourceName

AUTO-GENERATED DOCUMENTATION AND CLASS

Inheritance

Object > DatabaseRootName

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 DatabaseRootName.Builder newBuilder()
Returns
TypeDescription
DatabaseRootName.Builder

of(String project, String database)

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

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<DatabaseRootName> values)

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

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 DatabaseRootName.Builder toBuilder()
Returns
TypeDescription
DatabaseRootName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides