@Generated(value="by gapic-generator-java") public class FieldName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
FieldName.Builder
Builder for
projects/{project}/databases/{database}/collectionGroups/{collection}/fields/{field}.
|
Modifier | Constructor and Description |
---|---|
protected |
FieldName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String database,
String collection,
String field) |
String |
getCollection() |
String |
getDatabase() |
String |
getField() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static FieldName.Builder |
newBuilder() |
static FieldName |
of(String project,
String database,
String collection,
String field) |
static FieldName |
parse(String formattedString) |
static List<FieldName> |
parseList(List<String> formattedStrings) |
FieldName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<FieldName> values) |
@Deprecated protected FieldName()
public String getProject()
public String getDatabase()
public String getCollection()
public String getField()
public static FieldName.Builder newBuilder()
public FieldName.Builder toBuilder()
public static String format(String project, String database, String collection, String field)
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.