@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}.
|
static class |
DocumentName.ProjectLocationCollectionDataStoreBranchDocumentBuilder
Builder for
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DocumentName()
Deprecated.
|
@Deprecated protected DocumentName()
public String getProject()
public String getLocation()
public String getDataStore()
public String getBranch()
public String getDocument()
public String getCollection()
public static DocumentName.Builder newBuilder()
public static DocumentName.Builder newProjectLocationDataStoreBranchDocumentBuilder()
public static DocumentName.ProjectLocationCollectionDataStoreBranchDocumentBuilder newProjectLocationCollectionDataStoreBranchDocumentBuilder()
public DocumentName.Builder toBuilder()
public static DocumentName of(String project, String location, String dataStore, String branch, String document)
public static DocumentName ofProjectLocationDataStoreBranchDocumentName(String project, String location, String dataStore, String branch, String document)
public static DocumentName ofProjectLocationCollectionDataStoreBranchDocumentName(String project, String location, String collection, String dataStore, String branch, String document)
public static String format(String project, String location, String dataStore, String branch, String document)
public static String formatProjectLocationDataStoreBranchDocumentName(String project, String location, String dataStore, String branch, String document)
public static String formatProjectLocationCollectionDataStoreBranchDocumentName(String project, String location, String collection, 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 © 2024 Google LLC. All rights reserved.