Class CollectionGroupName (3.5.0)

public class CollectionGroupName implements ResourceName

Inheritance

Object > CollectionGroupName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String database, String collection)

public static String format(String project, String database, String collection)
Parameters
NameDescription
projectString
databaseString
collectionString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String database, String collection)

public static CollectionGroupName of(String project, String database, String collection)
Parameters
NameDescription
projectString
databaseString
collectionString
Returns
TypeDescription
CollectionGroupName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CollectionGroupName> values)

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

Constructors

CollectionGroupName()

protected CollectionGroupName()

Methods

equals(Object o)

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

getCollection()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides