Interface CreateDataStoreRequestOrBuilder (0.49.0)

public interface CreateDataStoreRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateAdvancedSiteSearch()

public abstract 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
Type Description
boolean

The createAdvancedSiteSearch.

getDataStore()

public abstract DataStore getDataStore()

Required. The DataStore to create.

.google.cloud.discoveryengine.v1.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataStore

The dataStore.

getDataStoreId()

public abstract String getDataStoreId()

Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name.

This field must conform to RFC-1034 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
Type Description
String

The dataStoreId.

getDataStoreIdBytes()

public abstract ByteString getDataStoreIdBytes()

Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name.

This field must conform to RFC-1034 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
Type Description
ByteString

The bytes for dataStoreId.

getDataStoreOrBuilder()

public abstract DataStoreOrBuilder getDataStoreOrBuilder()

Required. The DataStore to create.

.google.cloud.discoveryengine.v1.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataStoreOrBuilder

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getSkipDefaultSchemaCreation()

public abstract 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
Type Description
boolean

The skipDefaultSchemaCreation.

hasDataStore()

public abstract boolean hasDataStore()

Required. The DataStore to create.

.google.cloud.discoveryengine.v1.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataStore field is set.