- 0.70.0 (latest)
- 0.69.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class SearchConfig.Builder extends GeneratedMessageV3.Builder<SearchConfig.Builder> implements SearchConfigOrBuilder
Search configuration for UCS search queries.
Protobuf type google.cloud.dialogflow.cx.v3beta1.SearchConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SearchConfig.BuilderImplements
SearchConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllBoostSpecs(Iterable<? extends BoostSpecs> values)
public SearchConfig.Builder addAllBoostSpecs(Iterable<? extends BoostSpecs> values)
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.BoostSpecs> |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
addAllFilterSpecs(Iterable<? extends FilterSpecs> values)
public SearchConfig.Builder addAllFilterSpecs(Iterable<? extends FilterSpecs> values)
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.FilterSpecs> |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
addBoostSpecs(BoostSpecs value)
public SearchConfig.Builder addBoostSpecs(BoostSpecs value)
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
BoostSpecs |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
addBoostSpecs(BoostSpecs.Builder builderForValue)
public SearchConfig.Builder addBoostSpecs(BoostSpecs.Builder builderForValue)
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
BoostSpecs.Builder |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
addBoostSpecs(int index, BoostSpecs value)
public SearchConfig.Builder addBoostSpecs(int index, BoostSpecs value)
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
BoostSpecs |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
addBoostSpecs(int index, BoostSpecs.Builder builderForValue)
public SearchConfig.Builder addBoostSpecs(int index, BoostSpecs.Builder builderForValue)
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
BoostSpecs.Builder |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
addBoostSpecsBuilder()
public BoostSpecs.Builder addBoostSpecsBuilder()
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
addBoostSpecsBuilder(int index)
public BoostSpecs.Builder addBoostSpecsBuilder(int index)
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
addFilterSpecs(FilterSpecs value)
public SearchConfig.Builder addFilterSpecs(FilterSpecs value)
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
FilterSpecs |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
addFilterSpecs(FilterSpecs.Builder builderForValue)
public SearchConfig.Builder addFilterSpecs(FilterSpecs.Builder builderForValue)
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
FilterSpecs.Builder |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
addFilterSpecs(int index, FilterSpecs value)
public SearchConfig.Builder addFilterSpecs(int index, FilterSpecs value)
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
FilterSpecs |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
addFilterSpecs(int index, FilterSpecs.Builder builderForValue)
public SearchConfig.Builder addFilterSpecs(int index, FilterSpecs.Builder builderForValue)
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
FilterSpecs.Builder |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
addFilterSpecsBuilder()
public FilterSpecs.Builder addFilterSpecsBuilder()
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FilterSpecs.Builder |
addFilterSpecsBuilder(int index)
public FilterSpecs.Builder addFilterSpecsBuilder(int index)
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FilterSpecs.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
build()
public SearchConfig build()
Returns | |
---|---|
Type | Description |
SearchConfig |
buildPartial()
public SearchConfig buildPartial()
Returns | |
---|---|
Type | Description |
SearchConfig |
clear()
public SearchConfig.Builder clear()
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
clearBoostSpecs()
public SearchConfig.Builder clearBoostSpecs()
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public SearchConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
clearFilterSpecs()
public SearchConfig.Builder clearFilterSpecs()
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
clone()
public SearchConfig.Builder clone()
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
getBoostSpecs(int index)
public BoostSpecs getBoostSpecs(int index)
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BoostSpecs |
getBoostSpecsBuilder(int index)
public BoostSpecs.Builder getBoostSpecsBuilder(int index)
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
getBoostSpecsBuilderList()
public List<BoostSpecs.Builder> getBoostSpecsBuilderList()
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getBoostSpecsCount()
public int getBoostSpecsCount()
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getBoostSpecsList()
public List<BoostSpecs> getBoostSpecsList()
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<BoostSpecs> |
getBoostSpecsOrBuilder(int index)
public BoostSpecsOrBuilder getBoostSpecsOrBuilder(int index)
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BoostSpecsOrBuilder |
getBoostSpecsOrBuilderList()
public List<? extends BoostSpecsOrBuilder> getBoostSpecsOrBuilderList()
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.BoostSpecsOrBuilder> |
getDefaultInstanceForType()
public SearchConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SearchConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFilterSpecs(int index)
public FilterSpecs getFilterSpecs(int index)
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FilterSpecs |
getFilterSpecsBuilder(int index)
public FilterSpecs.Builder getFilterSpecsBuilder(int index)
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FilterSpecs.Builder |
getFilterSpecsBuilderList()
public List<FilterSpecs.Builder> getFilterSpecsBuilderList()
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getFilterSpecsCount()
public int getFilterSpecsCount()
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getFilterSpecsList()
public List<FilterSpecs> getFilterSpecsList()
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<FilterSpecs> |
getFilterSpecsOrBuilder(int index)
public FilterSpecsOrBuilder getFilterSpecsOrBuilder(int index)
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FilterSpecsOrBuilder |
getFilterSpecsOrBuilderList()
public List<? extends FilterSpecsOrBuilder> getFilterSpecsOrBuilderList()
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.FilterSpecsOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SearchConfig other)
public SearchConfig.Builder mergeFrom(SearchConfig other)
Parameter | |
---|---|
Name | Description |
other |
SearchConfig |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SearchConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
removeBoostSpecs(int index)
public SearchConfig.Builder removeBoostSpecs(int index)
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
removeFilterSpecs(int index)
public SearchConfig.Builder removeFilterSpecs(int index)
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
setBoostSpecs(int index, BoostSpecs value)
public SearchConfig.Builder setBoostSpecs(int index, BoostSpecs value)
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
BoostSpecs |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
setBoostSpecs(int index, BoostSpecs.Builder builderForValue)
public SearchConfig.Builder setBoostSpecs(int index, BoostSpecs.Builder builderForValue)
Optional. Boosting configuration for the datastores.
Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
BoostSpecs.Builder |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SearchConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
setFilterSpecs(int index, FilterSpecs value)
public SearchConfig.Builder setFilterSpecs(int index, FilterSpecs value)
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
FilterSpecs |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
setFilterSpecs(int index, FilterSpecs.Builder builderForValue)
public SearchConfig.Builder setFilterSpecs(int index, FilterSpecs.Builder builderForValue)
Optional. Filter configuration for the datastores.
Maps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.
repeated .google.cloud.dialogflow.cx.v3beta1.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
FilterSpecs.Builder |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SearchConfig.Builder |