Class AnyPathName (3.22.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
Name Description
project String
database String
document String
anyPath String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static AnyPathName.Builder newBuilder()
Returns
Type Description
AnyPathName.Builder

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

public static AnyPathName of(String project, String database, String document, String anyPath)
Parameters
Name Description
project String
database String
document String
anyPath String
Returns
Type Description
AnyPathName

parse(String formattedString)

public static AnyPathName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
AnyPathName

parseList(List<String> formattedStrings)

public static List<AnyPathName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<AnyPathName>

toStringList(List<AnyPathName> values)

public static List<String> toStringList(List<AnyPathName> values)
Parameter
Name Description
values List<AnyPathName>
Returns
Type Description
List<String>

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getAnyPath()

public String getAnyPath()
Returns
Type Description
String

getDatabase()

public String getDatabase()
Returns
Type Description
String

getDocument()

public String getDocument()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public AnyPathName.Builder toBuilder()
Returns
Type Description
AnyPathName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides