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