public static final class SearchKnowledgeRequest.SearchConfig.Builder extends GeneratedMessageV3.Builder<SearchKnowledgeRequest.SearchConfig.Builder> implements SearchKnowledgeRequest.SearchConfigOrBuilder
Configuration specific to search queries with data stores.
Protobuf type google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.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 SearchKnowledgeRequest.SearchConfig.BoostSpecs> values)
public SearchKnowledgeRequest.SearchConfig.Builder addAllBoostSpecs(Iterable<? extends SearchKnowledgeRequest.SearchConfig.BoostSpecs> values)
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs>
|
addAllFilterSpecs(Iterable<? extends SearchKnowledgeRequest.SearchConfig.FilterSpecs> values)
public SearchKnowledgeRequest.SearchConfig.Builder addAllFilterSpecs(Iterable<? extends SearchKnowledgeRequest.SearchConfig.FilterSpecs> values)
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs>
|
addBoostSpecs(SearchKnowledgeRequest.SearchConfig.BoostSpecs value)
public SearchKnowledgeRequest.SearchConfig.Builder addBoostSpecs(SearchKnowledgeRequest.SearchConfig.BoostSpecs value)
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addBoostSpecs(SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder builderForValue)
public SearchKnowledgeRequest.SearchConfig.Builder addBoostSpecs(SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder builderForValue)
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs value)
public SearchKnowledgeRequest.SearchConfig.Builder addBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs value)
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder builderForValue)
public SearchKnowledgeRequest.SearchConfig.Builder addBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder builderForValue)
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addBoostSpecsBuilder()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder addBoostSpecsBuilder()
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addBoostSpecsBuilder(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder addBoostSpecsBuilder(int index)
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addFilterSpecs(SearchKnowledgeRequest.SearchConfig.FilterSpecs value)
public SearchKnowledgeRequest.SearchConfig.Builder addFilterSpecs(SearchKnowledgeRequest.SearchConfig.FilterSpecs value)
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
addFilterSpecs(SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder builderForValue)
public SearchKnowledgeRequest.SearchConfig.Builder addFilterSpecs(SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder builderForValue)
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
addFilterSpecs(int index, SearchKnowledgeRequest.SearchConfig.FilterSpecs value)
public SearchKnowledgeRequest.SearchConfig.Builder addFilterSpecs(int index, SearchKnowledgeRequest.SearchConfig.FilterSpecs value)
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
addFilterSpecs(int index, SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder builderForValue)
public SearchKnowledgeRequest.SearchConfig.Builder addFilterSpecs(int index, SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder builderForValue)
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
addFilterSpecsBuilder()
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder addFilterSpecsBuilder()
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
addFilterSpecsBuilder(int index)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder addFilterSpecsBuilder(int index)
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchKnowledgeRequest.SearchConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchKnowledgeRequest.SearchConfig build()
buildPartial()
public SearchKnowledgeRequest.SearchConfig buildPartial()
clear()
public SearchKnowledgeRequest.SearchConfig.Builder clear()
Overrides
clearBoostSpecs()
public SearchKnowledgeRequest.SearchConfig.Builder clearBoostSpecs()
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public SearchKnowledgeRequest.SearchConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFilterSpecs()
public SearchKnowledgeRequest.SearchConfig.Builder clearFilterSpecs()
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchKnowledgeRequest.SearchConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SearchKnowledgeRequest.SearchConfig.Builder clone()
Overrides
getBoostSpecs(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs getBoostSpecs(int index)
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getBoostSpecsBuilder(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder getBoostSpecsBuilder(int index)
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getBoostSpecsBuilderList()
public List<SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder> getBoostSpecsBuilderList()
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
getBoostSpecsCount()
public int getBoostSpecsCount()
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getBoostSpecsList()
public List<SearchKnowledgeRequest.SearchConfig.BoostSpecs> getBoostSpecsList()
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
getBoostSpecsOrBuilder(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder getBoostSpecsOrBuilder(int index)
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getBoostSpecsOrBuilderList()
public List<? extends SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder> getBoostSpecsOrBuilderList()
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder> |
|
getDefaultInstanceForType()
public SearchKnowledgeRequest.SearchConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFilterSpecs(int index)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs getFilterSpecs(int index)
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getFilterSpecsBuilder(int index)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder getFilterSpecsBuilder(int index)
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getFilterSpecsBuilderList()
public List<SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder> getFilterSpecsBuilderList()
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
getFilterSpecsCount()
public int getFilterSpecsCount()
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getFilterSpecsList()
public List<SearchKnowledgeRequest.SearchConfig.FilterSpecs> getFilterSpecsList()
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
getFilterSpecsOrBuilder(int index)
public SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder getFilterSpecsOrBuilder(int index)
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getFilterSpecsOrBuilderList()
public List<? extends SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder> getFilterSpecsOrBuilderList()
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchKnowledgeRequest.SearchConfig other)
public SearchKnowledgeRequest.SearchConfig.Builder mergeFrom(SearchKnowledgeRequest.SearchConfig other)
public SearchKnowledgeRequest.SearchConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchKnowledgeRequest.SearchConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchKnowledgeRequest.SearchConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeBoostSpecs(int index)
public SearchKnowledgeRequest.SearchConfig.Builder removeBoostSpecs(int index)
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
removeFilterSpecs(int index)
public SearchKnowledgeRequest.SearchConfig.Builder removeFilterSpecs(int index)
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
setBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs value)
public SearchKnowledgeRequest.SearchConfig.Builder setBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs value)
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
setBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder builderForValue)
public SearchKnowledgeRequest.SearchConfig.Builder setBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.Builder builderForValue)
Optional. Boost specifications for data stores.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public SearchKnowledgeRequest.SearchConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFilterSpecs(int index, SearchKnowledgeRequest.SearchConfig.FilterSpecs value)
public SearchKnowledgeRequest.SearchConfig.Builder setFilterSpecs(int index, SearchKnowledgeRequest.SearchConfig.FilterSpecs value)
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
setFilterSpecs(int index, SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder builderForValue)
public SearchKnowledgeRequest.SearchConfig.Builder setFilterSpecs(int index, SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder builderForValue)
Optional. Filter specification for data store queries.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchKnowledgeRequest.SearchConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchKnowledgeRequest.SearchConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides