@Generated(value="by gapic-generator-java") public class SchemaName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and 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}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SchemaName()
Deprecated.
|
@Deprecated protected SchemaName()
public String getProject()
public String getLocation()
public String getDataStore()
public String getSchema()
public String getCollection()
public static SchemaName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static SchemaName.Builder newProjectLocationDataStoreSchemaBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static SchemaName.ProjectLocationCollectionDataStoreSchemaBuilder newProjectLocationCollectionDataStoreSchemaBuilder()
public SchemaName.Builder toBuilder()
public static SchemaName of(String project, String location, String dataStore, String schema)
@BetaApi(value="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)
@BetaApi(value="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)
public static String format(String project, String location, String dataStore, String schema)
@BetaApi(value="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)
@BetaApi(value="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)
public static SchemaName parse(String formattedString)
public static List<SchemaName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<SchemaName> 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.