@Generated(value="by gapic-generator-java") public class DataStoreName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
DataStoreName.Builder
Builder for projects/{project}/locations/{location}/dataStores/{data_store}.
|
static class |
DataStoreName.ProjectLocationCollectionDataStoreBuilder
Builder for
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DataStoreName()
Deprecated.
|
@Deprecated protected DataStoreName()
public String getProject()
public String getLocation()
public String getDataStore()
public String getCollection()
public static DataStoreName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static DataStoreName.Builder newProjectLocationDataStoreBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static DataStoreName.ProjectLocationCollectionDataStoreBuilder newProjectLocationCollectionDataStoreBuilder()
public DataStoreName.Builder toBuilder()
public static DataStoreName of(String project, String location, String dataStore)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static DataStoreName ofProjectLocationDataStoreName(String project, String location, String dataStore)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static DataStoreName ofProjectLocationCollectionDataStoreName(String project, String location, String collection, String dataStore)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationDataStoreName(String project, String location, String dataStore)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationCollectionDataStoreName(String project, String location, String collection, String dataStore)
public static DataStoreName parse(String formattedString)
public static List<DataStoreName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<DataStoreName> 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.