@Generated(value="by gapic-generator-java") public class ChunkName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
ChunkName.Builder
Builder for
projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}.
|
static class |
ChunkName.ProjectLocationCollectionDataStoreBranchDocumentChunkBuilder
Builder for
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ChunkName()
Deprecated.
|
@Deprecated protected ChunkName()
public String getProject()
public String getLocation()
public String getDataStore()
public String getBranch()
public String getDocument()
public String getChunk()
public String getCollection()
public static ChunkName.Builder newBuilder()
public static ChunkName.Builder newProjectLocationDataStoreBranchDocumentChunkBuilder()
public static ChunkName.ProjectLocationCollectionDataStoreBranchDocumentChunkBuilder newProjectLocationCollectionDataStoreBranchDocumentChunkBuilder()
public ChunkName.Builder toBuilder()
public static ChunkName of(String project, String location, String dataStore, String branch, String document, String chunk)
public static ChunkName ofProjectLocationDataStoreBranchDocumentChunkName(String project, String location, String dataStore, String branch, String document, String chunk)
public static ChunkName ofProjectLocationCollectionDataStoreBranchDocumentChunkName(String project, String location, String collection, String dataStore, String branch, String document, String chunk)
public static String format(String project, String location, String dataStore, String branch, String document, String chunk)
public static String formatProjectLocationDataStoreBranchDocumentChunkName(String project, String location, String dataStore, String branch, String document, String chunk)
public static String formatProjectLocationCollectionDataStoreBranchDocumentChunkName(String project, String location, String collection, String dataStore, String branch, String document, String chunk)
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.