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 TypeMethodDescriptionbooleanA boolean flag indicating whether user want to directly create an advanced data store for site search.Required.Required.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.booleanA boolean flag indicating whether to skip the default schema creation for the data store.booleanRequired.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
-
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.v1beta.DataStore] to create.
.google.cloud.discoveryengine.v1beta.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.v1beta.DataStore] to create.
.google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The dataStore.
-
getDataStoreOrBuilder
DataStoreOrBuilder getDataStoreOrBuilder()Required. The [DataStore][google.cloud.discoveryengine.v1beta.DataStore] to create.
.google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED]; -
getDataStoreId
String getDataStoreId()Required. The ID to use for the [DataStore][google.cloud.discoveryengine.v1beta.DataStore], which will become the final component of the [DataStore][google.cloud.discoveryengine.v1beta.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.v1beta.DataStore], which will become the final component of the [DataStore][google.cloud.discoveryengine.v1beta.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.
-