Class DocumentPathName (3.10.0)

public class DocumentPathName implements ResourceName

AUTO-GENERATED DOCUMENTATION AND CLASS

Inheritance

Object > DocumentPathName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String database, String documentPath)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String database, String documentPath)

public static DocumentPathName of(String project, String database, String documentPath)
Parameters
NameDescription
projectString
databaseString
documentPathString
Returns
TypeDescription
DocumentPathName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<DocumentPathName> values)

public static List<String> toStringList(List<DocumentPathName> values)
Parameter
NameDescription
valuesList<DocumentPathName>
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

getDocumentPath()

public String getDocumentPath()
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 DocumentPathName.Builder toBuilder()
Returns
TypeDescription
DocumentPathName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides