@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()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static DocumentName.Builder newProjectLocationDataStoreBranchDocumentBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static DocumentName.ProjectLocationCollectionDataStoreBranchDocumentBuilder newProjectLocationCollectionDataStoreBranchDocumentBuilder()
public DocumentName.Builder toBuilder()
public static DocumentName of(String project, String location, String dataStore, String branch, String document)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static DocumentName ofProjectLocationDataStoreBranchDocumentName(String project, String location, String dataStore, String branch, String document)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") 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)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationDataStoreBranchDocumentName(String project, String location, String dataStore, String branch, String document)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") 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.