Class SearchConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchConfig.Builder>
com.google.cloud.dialogflow.cx.v3beta1.SearchConfig.Builder
- All Implemented Interfaces:
SearchConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchConfig
public static final class SearchConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchConfig.Builder>
implements SearchConfigOrBuilder
Search configuration for UCS search queries.Protobuf type
google.cloud.dialogflow.cx.v3beta1.SearchConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllBoostSpecs(Iterable<? extends BoostSpecs> values) Optional.addAllFilterSpecs(Iterable<? extends FilterSpecs> values) Optional.addBoostSpecs(int index, BoostSpecs value) Optional.addBoostSpecs(int index, BoostSpecs.Builder builderForValue) Optional.addBoostSpecs(BoostSpecs value) Optional.addBoostSpecs(BoostSpecs.Builder builderForValue) Optional.Optional.addBoostSpecsBuilder(int index) Optional.addFilterSpecs(int index, FilterSpecs value) Optional.addFilterSpecs(int index, FilterSpecs.Builder builderForValue) Optional.addFilterSpecs(FilterSpecs value) Optional.addFilterSpecs(FilterSpecs.Builder builderForValue) Optional.Optional.addFilterSpecsBuilder(int index) Optional.build()clear()Optional.Optional.getBoostSpecs(int index) Optional.getBoostSpecsBuilder(int index) Optional.Optional.intOptional.Optional.getBoostSpecsOrBuilder(int index) Optional.List<? extends BoostSpecsOrBuilder>Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFilterSpecs(int index) Optional.getFilterSpecsBuilder(int index) Optional.Optional.intOptional.Optional.getFilterSpecsOrBuilder(int index) Optional.List<? extends FilterSpecsOrBuilder>Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SearchConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeBoostSpecs(int index) Optional.removeFilterSpecs(int index) Optional.setBoostSpecs(int index, BoostSpecs value) Optional.setBoostSpecs(int index, BoostSpecs.Builder builderForValue) Optional.setFilterSpecs(int index, FilterSpecs value) Optional.setFilterSpecs(int index, FilterSpecs.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchConfig.Builder>
-
mergeFrom
public SearchConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchConfig.Builder>- Throws:
IOException
-
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];- Specified by:
getBoostSpecsListin interfaceSearchConfigOrBuilder
-
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];- Specified by:
getBoostSpecsCountin interfaceSearchConfigOrBuilder
-
getBoostSpecs
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];- Specified by:
getBoostSpecsin interfaceSearchConfigOrBuilder
-
setBoostSpecs
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]; -
setBoostSpecs
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]; -
addBoostSpecs
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]; -
addBoostSpecs
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]; -
addBoostSpecs
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]; -
addBoostSpecs
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]; -
addAllBoostSpecs
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]; -
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]; -
removeBoostSpecs
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]; -
getBoostSpecsBuilder
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]; -
getBoostSpecsOrBuilder
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];- Specified by:
getBoostSpecsOrBuilderin interfaceSearchConfigOrBuilder
-
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];- Specified by:
getBoostSpecsOrBuilderListin interfaceSearchConfigOrBuilder
-
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]; -
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]; -
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]; -
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];- Specified by:
getFilterSpecsListin interfaceSearchConfigOrBuilder
-
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];- Specified by:
getFilterSpecsCountin interfaceSearchConfigOrBuilder
-
getFilterSpecs
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];- Specified by:
getFilterSpecsin interfaceSearchConfigOrBuilder
-
setFilterSpecs
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]; -
setFilterSpecs
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]; -
addFilterSpecs
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]; -
addFilterSpecs
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]; -
addFilterSpecs
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]; -
addFilterSpecs
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]; -
addAllFilterSpecs
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]; -
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]; -
removeFilterSpecs
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]; -
getFilterSpecsBuilder
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]; -
getFilterSpecsOrBuilder
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];- Specified by:
getFilterSpecsOrBuilderin interfaceSearchConfigOrBuilder
-
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];- Specified by:
getFilterSpecsOrBuilderListin interfaceSearchConfigOrBuilder
-
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]; -
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]; -
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];
-