@Generated(value="by GAPIC protoc plugin") public class ParentName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
ParentName.Builder
Builder for ParentName.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String database,
String collectionId) |
String |
getCollectionId() |
String |
getDatabase() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static ParentName.Builder |
newBuilder() |
static ParentName |
of(String project,
String database,
String collectionId) |
static ParentName |
parse(String formattedString) |
static List<ParentName> |
parseList(List<String> formattedStrings) |
ParentName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<ParentName> values) |
public String getProject()
public String getDatabase()
public String getCollectionId()
public static ParentName.Builder newBuilder()
public ParentName.Builder toBuilder()
public static ParentName of(String project, String database, String collectionId)
public static ParentName parse(String formattedString)
public static List<ParentName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<ParentName> 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.