Class DataStoreName
- java.lang.Object
-
- com.google.cloud.discoveryengine.v1beta.DataStoreName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class DataStoreName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DataStoreName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
DataStoreName
@Deprecated protected DataStoreName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getDataStore
public String getDataStore()
-
getCollection
public String getCollection()
-
newBuilder
public static DataStoreName.Builder newBuilder()
-
newProjectLocationDataStoreBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static DataStoreName.Builder newProjectLocationDataStoreBuilder()
-
newProjectLocationCollectionDataStoreBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static DataStoreName.ProjectLocationCollectionDataStoreBuilder newProjectLocationCollectionDataStoreBuilder()
-
toBuilder
public DataStoreName.Builder toBuilder()
-
of
public static DataStoreName of(String project, String location, String dataStore)
-
ofProjectLocationDataStoreName
@BetaApi("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)
-
ofProjectLocationCollectionDataStoreName
@BetaApi("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)
-
formatProjectLocationDataStoreName
@BetaApi("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)
-
formatProjectLocationCollectionDataStoreName
@BetaApi("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)
-
parse
public static DataStoreName parse(String formattedString)
-
parseList
public static List<DataStoreName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<DataStoreName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-