@Generated(value="by gapic-generator-java") public class CollectionGroupName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
CollectionGroupName.Builder
Builder for projects/{project}/databases/{database}/collectionGroups/{collection}.
|
Modifier | Constructor and Description |
---|---|
protected |
CollectionGroupName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String database,
String collection) |
String |
getCollection() |
String |
getDatabase() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static CollectionGroupName.Builder |
newBuilder() |
static CollectionGroupName |
of(String project,
String database,
String collection) |
static CollectionGroupName |
parse(String formattedString) |
static List<CollectionGroupName> |
parseList(List<String> formattedStrings) |
CollectionGroupName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<CollectionGroupName> values) |
@Deprecated protected CollectionGroupName()
public String getProject()
public String getDatabase()
public String getCollection()
public static CollectionGroupName.Builder newBuilder()
public CollectionGroupName.Builder toBuilder()
public static CollectionGroupName of(String project, String database, String collection)
public static CollectionGroupName parse(String formattedString)
public static List<CollectionGroupName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<CollectionGroupName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2023 Google LLC. All rights reserved.