Interface DataStoreTool.BoostSpecsOrBuilder (0.1.0)

public static interface DataStoreTool.BoostSpecsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataStores(int index)

public abstract String getDataStores(int index)

Required. The Data Store where the boosting configuration is applied. Full resource name of DataStore, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.

repeated string data_stores = 1 [(.google.api.field_behavior) = REQUIRED];

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)

Required. The Data Store where the boosting configuration is applied. Full resource name of DataStore, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.

repeated string data_stores = 1 [(.google.api.field_behavior) = REQUIRED];

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()

Required. The Data Store where the boosting configuration is applied. Full resource name of DataStore, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.

repeated string data_stores = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of dataStores.

getDataStoresList()

public abstract List<String> getDataStoresList()

Required. The Data Store where the boosting configuration is applied. Full resource name of DataStore, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.

repeated string data_stores = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the dataStores.

getSpec(int index)

public abstract DataStoreTool.BoostSpec getSpec(int index)

Required. A list of boosting specifications.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec spec = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
DataStoreTool.BoostSpec

getSpecCount()

public abstract int getSpecCount()

Required. A list of boosting specifications.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec spec = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getSpecList()

public abstract List<DataStoreTool.BoostSpec> getSpecList()

Required. A list of boosting specifications.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec spec = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<BoostSpec>

getSpecOrBuilder(int index)

public abstract DataStoreTool.BoostSpecOrBuilder getSpecOrBuilder(int index)

Required. A list of boosting specifications.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec spec = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
DataStoreTool.BoostSpecOrBuilder

getSpecOrBuilderList()

public abstract List<? extends DataStoreTool.BoostSpecOrBuilder> getSpecOrBuilderList()

Required. A list of boosting specifications.

repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec spec = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.ces.v1.DataStoreTool.BoostSpecOrBuilder>