Interface SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder (4.60.0)

public static interface SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataStores(int index)

public abstract String getDataStores(int index)

Optional. Data Stores where the boosting configuration is applied. The full names of the referenced data stores. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store} projects/{project}/locations/{location}/dataStores/{data_store}

repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The dataStores at the given index.

getDataStoresBytes(int index)

public abstract ByteString getDataStoresBytes(int index)

Optional. Data Stores where the boosting configuration is applied. The full names of the referenced data stores. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store} projects/{project}/locations/{location}/dataStores/{data_store}

repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the dataStores at the given index.

getDataStoresCount()

public abstract int getDataStoresCount()

Optional. Data Stores where the boosting configuration is applied. The full names of the referenced data stores. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store} projects/{project}/locations/{location}/dataStores/{data_store}

repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of dataStores.

getDataStoresList()

public abstract List<String> getDataStoresList()

Optional. Data Stores where the boosting configuration is applied. The full names of the referenced data stores. Formats: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store} projects/{project}/locations/{location}/dataStores/{data_store}

repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the dataStores.

getSpec(int index)

public abstract SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec getSpec(int index)

Optional. A list of boosting specifications.

repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec

getSpecCount()

public abstract int getSpecCount()

Optional. A list of boosting specifications.

repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSpecList()

public abstract List<SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec> getSpecList()

Optional. A list of boosting specifications.

repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<BoostSpec>

getSpecOrBuilder(int index)

public abstract SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpecOrBuilder getSpecOrBuilder(int index)

Optional. A list of boosting specifications.

repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpecOrBuilder

getSpecOrBuilderList()

public abstract List<? extends SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpecOrBuilder> getSpecOrBuilderList()

Optional. A list of boosting specifications.

repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpecOrBuilder>