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.v3.SearchConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllBoostSpecs(Iterable<? extends BoostSpecs> values)
public SearchConfig.Builder addAllBoostSpecs(Iterable<? extends BoostSpecs> values)
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.BoostSpecs>
|
addAllFilterSpecs(Iterable<? extends FilterSpecs> values)
public SearchConfig.Builder addAllFilterSpecs(Iterable<? extends FilterSpecs> values)
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.FilterSpecs>
|
addBoostSpecs(BoostSpecs value)
public SearchConfig.Builder addBoostSpecs(BoostSpecs value)
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addBoostSpecs(BoostSpecs.Builder builderForValue)
public SearchConfig.Builder addBoostSpecs(BoostSpecs.Builder builderForValue)
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addBoostSpecs(int index, BoostSpecs value)
public SearchConfig.Builder addBoostSpecs(int index, BoostSpecs value)
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addBoostSpecs(int index, BoostSpecs.Builder builderForValue)
public SearchConfig.Builder addBoostSpecs(int index, BoostSpecs.Builder builderForValue)
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addBoostSpecsBuilder()
public BoostSpecs.Builder addBoostSpecsBuilder()
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addBoostSpecsBuilder(int index)
public BoostSpecs.Builder addBoostSpecsBuilder(int index)
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addFilterSpecs(FilterSpecs value)
public SearchConfig.Builder addFilterSpecs(FilterSpecs value)
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
addFilterSpecs(FilterSpecs.Builder builderForValue)
public SearchConfig.Builder addFilterSpecs(FilterSpecs.Builder builderForValue)
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
addFilterSpecs(int index, FilterSpecs value)
public SearchConfig.Builder addFilterSpecs(int index, FilterSpecs value)
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
addFilterSpecs(int index, FilterSpecs.Builder builderForValue)
public SearchConfig.Builder addFilterSpecs(int index, FilterSpecs.Builder builderForValue)
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
addFilterSpecsBuilder()
public FilterSpecs.Builder addFilterSpecsBuilder()
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
addFilterSpecsBuilder(int index)
public FilterSpecs.Builder addFilterSpecsBuilder(int index)
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchConfig build()
buildPartial()
public SearchConfig buildPartial()
clear()
public SearchConfig.Builder clear()
Overrides
clearBoostSpecs()
public SearchConfig.Builder clearBoostSpecs()
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public SearchConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFilterSpecs()
public SearchConfig.Builder clearFilterSpecs()
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SearchConfig.Builder clone()
Overrides
getBoostSpecs(int index)
public BoostSpecs getBoostSpecs(int index)
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getBoostSpecsBuilder(int index)
public BoostSpecs.Builder getBoostSpecsBuilder(int index)
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getBoostSpecsBuilderList()
public List<BoostSpecs.Builder> getBoostSpecsBuilderList()
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
getBoostSpecsCount()
public int getBoostSpecsCount()
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getBoostSpecsList()
public List<BoostSpecs> getBoostSpecsList()
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
getBoostSpecsOrBuilder(int index)
public BoostSpecsOrBuilder getBoostSpecsOrBuilder(int index)
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getBoostSpecsOrBuilderList()
public List<? extends BoostSpecsOrBuilder> getBoostSpecsOrBuilderList()
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3.BoostSpecsOrBuilder> |
|
getDefaultInstanceForType()
public SearchConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFilterSpecs(int index)
public FilterSpecs getFilterSpecs(int index)
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getFilterSpecsBuilder(int index)
public FilterSpecs.Builder getFilterSpecsBuilder(int index)
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getFilterSpecsBuilderList()
public List<FilterSpecs.Builder> getFilterSpecsBuilderList()
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
getFilterSpecsCount()
public int getFilterSpecsCount()
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getFilterSpecsList()
public List<FilterSpecs> getFilterSpecsList()
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
getFilterSpecsOrBuilder(int index)
public FilterSpecsOrBuilder getFilterSpecsOrBuilder(int index)
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getFilterSpecsOrBuilderList()
public List<? extends FilterSpecsOrBuilder> getFilterSpecsOrBuilderList()
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3.FilterSpecsOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchConfig other)
public SearchConfig.Builder mergeFrom(SearchConfig other)
public SearchConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeBoostSpecs(int index)
public SearchConfig.Builder removeBoostSpecs(int index)
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
removeFilterSpecs(int index)
public SearchConfig.Builder removeFilterSpecs(int index)
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
setBoostSpecs(int index, BoostSpecs value)
public SearchConfig.Builder setBoostSpecs(int index, BoostSpecs value)
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
setBoostSpecs(int index, BoostSpecs.Builder builderForValue)
public SearchConfig.Builder setBoostSpecs(int index, BoostSpecs.Builder builderForValue)
Optional. Boosting configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public SearchConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFilterSpecs(int index, FilterSpecs value)
public SearchConfig.Builder setFilterSpecs(int index, FilterSpecs value)
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
setFilterSpecs(int index, FilterSpecs.Builder builderForValue)
public SearchConfig.Builder setFilterSpecs(int index, FilterSpecs.Builder builderForValue)
Optional. Filter configuration for the datastores.
repeated .google.cloud.dialogflow.cx.v3.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides