- 4.91.0 (latest)
- 4.89.0
- 4.88.0
- 4.87.0
- 4.86.0
- 4.84.0
- 4.82.0
- 4.81.0
- 4.80.0
- 4.79.0
- 4.78.0
- 4.76.0
- 4.74.0
- 4.73.0
- 4.70.0
- 4.69.0
- 4.68.0
- 4.66.0
- 4.65.0
- 4.64.0
- 4.63.0
- 4.62.0
- 4.61.0
- 4.60.0
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder extends GeneratedMessage.Builder<SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder> implements SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilderBoost specifications for data stores.
Protobuf type
google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchKnowledgeRequest.SearchConfig.BoostSpecs.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDataStores(Iterable<String> values)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder addAllDataStores(Iterable<String> values) 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 |
values |
Iterable<String>The dataStores to add. |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
This builder for chaining. |
addAllSpec(Iterable<? extends SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec> values)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder addAllSpec(Iterable<? extends SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec> values)Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec> |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|
addDataStores(String value)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder addDataStores(String value) 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 |
value |
StringThe dataStores to add. |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
This builder for chaining. |
addDataStoresBytes(ByteString value)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder addDataStoresBytes(ByteString value) 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 |
value |
ByteStringThe bytes of the dataStores to add. |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
This builder for chaining. |
addSpec(SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec value)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder addSpec(SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec value)Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|
addSpec(SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder builderForValue)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder addSpec(SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder builderForValue)Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|
addSpec(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec value)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder addSpec(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec value)Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|
addSpec(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder builderForValue)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder addSpec(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder builderForValue)Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|
addSpecBuilder()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder addSpecBuilder()Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder |
|
addSpecBuilder(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder addSpecBuilder(int index)Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder |
|
build()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs build()| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs |
|
buildPartial()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs buildPartial()| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs |
|
clear()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder clear()| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|
clearDataStores()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder clearDataStores() 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 |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
This builder for chaining. |
clearSpec()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder clearSpec()Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|
getDataStores(int index)
public 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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The dataStores at the given index. |
getDataStoresBytes(int index)
public 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 |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the dataStores at the given index. |
getDataStoresCount()
public 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the dataStores. |
getDefaultInstanceForType()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSpec(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec getSpec(int index)Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec |
|
getSpecBuilder(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder getSpecBuilder(int index)Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder |
|
getSpecBuilderList()
public List<SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder> getSpecBuilderList()Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSpecCount()
public int getSpecCount()Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSpecList()
public List<SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec> getSpecList()Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<BoostSpec> |
|
getSpecOrBuilder(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpecOrBuilder getSpecOrBuilder(int index)Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.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 List<? extends SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpecOrBuilder> getSpecOrBuilderList()Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpecOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SearchKnowledgeRequest.SearchConfig.BoostSpecs other)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder mergeFrom(SearchKnowledgeRequest.SearchConfig.BoostSpecs other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchKnowledgeRequest.SearchConfig.BoostSpecs |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|
removeSpec(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder removeSpec(int index)Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|
setDataStores(int index, String value)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder setDataStores(int index, String value) 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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe dataStores to set. |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
This builder for chaining. |
setSpec(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec value)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder setSpec(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec value)Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|
setSpec(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder builderForValue)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder setSpec(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder builderForValue)Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder |
|