Class DocumentRootName (3.14.4)

public class DocumentRootName implements ResourceName

AUTO-GENERATED DOCUMENTATION AND CLASS

Inheritance

Object > DocumentRootName

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

of(String project, String database)

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

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<DocumentRootName> values)

public static List<String> toStringList(List<DocumentRootName> values)
Parameter
NameDescription
valuesList<DocumentRootName>
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 DocumentRootName.Builder toBuilder()
Returns
TypeDescription
DocumentRootName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides