Interface CreateDataStoreRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateDataStoreRequest,CreateDataStoreRequest.Builder
@Generated
public interface CreateDataStoreRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionResource name of the CmekConfig to use for protecting this DataStore.com.google.protobuf.ByteStringResource name of the CmekConfig to use for protecting this DataStore.booleanA boolean flag indicating whether user want to directly create an advanced data store for site search.Required.Required.com.google.protobuf.ByteStringRequired.Required.booleanDataStore without CMEK protections.Required.com.google.protobuf.ByteStringRequired.booleanA boolean flag indicating whether to skip the default schema creation for the data store.booleanResource name of the CmekConfig to use for protecting this DataStore.booleanRequired.booleanDataStore without CMEK protections.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCmekConfigName
boolean hasCmekConfigName()Resource name of the CmekConfig to use for protecting this DataStore.
string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }- Returns:
- Whether the cmekConfigName field is set.
-
getCmekConfigName
String getCmekConfigName()Resource name of the CmekConfig to use for protecting this DataStore.
string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }- Returns:
- The cmekConfigName.
-
getCmekConfigNameBytes
com.google.protobuf.ByteString getCmekConfigNameBytes()Resource name of the CmekConfig to use for protecting this DataStore.
string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for cmekConfigName.
-
hasDisableCmek
boolean hasDisableCmek()DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.
bool disable_cmek = 6;- Returns:
- Whether the disableCmek field is set.
-
getDisableCmek
boolean getDisableCmek()DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.
bool disable_cmek = 6;- Returns:
- The disableCmek.
-
getParent
String getParent()Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasDataStore
boolean hasDataStore()Required. The [DataStore][google.cloud.discoveryengine.v1.DataStore] to create.
.google.cloud.discoveryengine.v1.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the dataStore field is set.
-
getDataStore
DataStore getDataStore()Required. The [DataStore][google.cloud.discoveryengine.v1.DataStore] to create.
.google.cloud.discoveryengine.v1.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The dataStore.
-
getDataStoreOrBuilder
DataStoreOrBuilder getDataStoreOrBuilder()Required. The [DataStore][google.cloud.discoveryengine.v1.DataStore] to create.
.google.cloud.discoveryengine.v1.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED]; -
getDataStoreId
String getDataStoreId()Required. The ID to use for the [DataStore][google.cloud.discoveryengine.v1.DataStore], which will become the final component of the [DataStore][google.cloud.discoveryengine.v1.DataStore]'s resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string data_store_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The dataStoreId.
-
getDataStoreIdBytes
com.google.protobuf.ByteString getDataStoreIdBytes()Required. The ID to use for the [DataStore][google.cloud.discoveryengine.v1.DataStore], which will become the final component of the [DataStore][google.cloud.discoveryengine.v1.DataStore]'s resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string data_store_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for dataStoreId.
-
getCreateAdvancedSiteSearch
boolean getCreateAdvancedSiteSearch()A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.
bool create_advanced_site_search = 4;- Returns:
- The createAdvancedSiteSearch.
-
getSkipDefaultSchemaCreation
boolean getSkipDefaultSchemaCreation()A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified.
bool skip_default_schema_creation = 7;- Returns:
- The skipDefaultSchemaCreation.
-
getCmekOptionsCase
CreateDataStoreRequest.CmekOptionsCase getCmekOptionsCase()
-