Class SchemaName
- java.lang.Object
-
- com.google.cloud.discoveryengine.v1beta.SchemaName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class SchemaName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchemaName.Builder
Builder for projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}.static class
SchemaName.ProjectLocationCollectionDataStoreSchemaBuilder
Builder for projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
SchemaName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
SchemaName
@Deprecated protected SchemaName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getDataStore
public String getDataStore()
-
getSchema
public String getSchema()
-
getCollection
public String getCollection()
-
newBuilder
public static SchemaName.Builder newBuilder()
-
newProjectLocationDataStoreSchemaBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SchemaName.Builder newProjectLocationDataStoreSchemaBuilder()
-
newProjectLocationCollectionDataStoreSchemaBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static SchemaName.ProjectLocationCollectionDataStoreSchemaBuilder newProjectLocationCollectionDataStoreSchemaBuilder()
-
toBuilder
public SchemaName.Builder toBuilder()
-
of
public static SchemaName of(String project, String location, String dataStore, String schema)
-
ofProjectLocationDataStoreSchemaName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SchemaName ofProjectLocationDataStoreSchemaName(String project, String location, String dataStore, String schema)
-
ofProjectLocationCollectionDataStoreSchemaName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SchemaName ofProjectLocationCollectionDataStoreSchemaName(String project, String location, String collection, String dataStore, String schema)
-
format
public static String format(String project, String location, String dataStore, String schema)
-
formatProjectLocationDataStoreSchemaName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationDataStoreSchemaName(String project, String location, String dataStore, String schema)
-
formatProjectLocationCollectionDataStoreSchemaName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationCollectionDataStoreSchemaName(String project, String location, String collection, String dataStore, String schema)
-
parse
public static SchemaName parse(String formattedString)
-
parseList
public static List<SchemaName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<SchemaName> 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
-
-