@Generated(value="by gapic-generator-java") public class DocumentName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentName.Builder
Builder for
projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DocumentName()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static String |
format(String project,
String location,
String dataStore,
String branch,
String document) |
String |
getBranch() |
String |
getDataStore() |
String |
getDocument() |
String |
getFieldValue(String fieldName) |
Map<String,String> |
getFieldValuesMap() |
String |
getLocation() |
String |
getProject() |
int |
hashCode() |
static boolean |
isParsableFrom(String formattedString) |
static DocumentName.Builder |
newBuilder() |
static DocumentName |
of(String project,
String location,
String dataStore,
String branch,
String document) |
static DocumentName |
parse(String formattedString) |
static List<DocumentName> |
parseList(List<String> formattedStrings) |
DocumentName.Builder |
toBuilder() |
String |
toString() |
static List<String> |
toStringList(List<DocumentName> values) |
@Deprecated protected DocumentName()
public String getProject()
public String getLocation()
public String getDataStore()
public String getBranch()
public String getDocument()
public static DocumentName.Builder newBuilder()
public DocumentName.Builder toBuilder()
public static DocumentName of(String project, String location, String dataStore, String branch, String document)
public static String format(String project, String location, String dataStore, String branch, String document)
public static DocumentName parse(String formattedString)
public static List<DocumentName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<DocumentName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2022 Google LLC. All rights reserved.