Class ParentName (3.7.10)

public class ParentName implements ResourceName

AUTO-GENERATED DOCUMENTATION AND CLASS

Inheritance

Object > ParentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String database, String collectionId)

public static String format(String project, String database, String collectionId)
Parameters
NameDescription
projectString
databaseString
collectionIdString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String database, String collectionId)

public static ParentName of(String project, String database, String collectionId)
Parameters
NameDescription
projectString
databaseString
collectionIdString
Returns
TypeDescription
ParentName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ParentName> values)

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

Methods

equals(Object o)

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

getCollectionId()

public String getCollectionId()
Returns
TypeDescription
String

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides