Class AnyPathName (3.5.0)

public class AnyPathName implements ResourceName

AUTO-GENERATED DOCUMENTATION AND CLASS

Inheritance

Object > AnyPathName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String database, String document, String anyPath)

public static String format(String project, String database, String document, String anyPath)
Parameters
NameDescription
projectString
databaseString
documentString
anyPathString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String database, String document, String anyPath)

public static AnyPathName of(String project, String database, String document, String anyPath)
Parameters
NameDescription
projectString
databaseString
documentString
anyPathString
Returns
TypeDescription
AnyPathName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<AnyPathName> values)

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

Methods

equals(Object o)

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

getAnyPath()

public String getAnyPath()
Returns
TypeDescription
String

getDatabase()

public String getDatabase()
Returns
TypeDescription
String

getDocument()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides