public static final class SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder extends GeneratedMessageV3.Builder<SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder> implements SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpecOrBuilder
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
addAllConditionBoostSpecs(Iterable<? extends SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec> values)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder addAllConditionBoostSpecs(Iterable<? extends SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec> values)
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec>
|
addConditionBoostSpecs(SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec value)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder addConditionBoostSpecs(SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec value)
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addConditionBoostSpecs(SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec.Builder builderForValue)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder addConditionBoostSpecs(SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec.Builder builderForValue)
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addConditionBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec value)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder addConditionBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec value)
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addConditionBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec.Builder builderForValue)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder addConditionBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec.Builder builderForValue)
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addConditionBoostSpecsBuilder()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec.Builder addConditionBoostSpecsBuilder()
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addConditionBoostSpecsBuilder(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec.Builder addConditionBoostSpecsBuilder(int index)
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec build()
buildPartial()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec buildPartial()
clear()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder clear()
Overrides
clearConditionBoostSpecs()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder clearConditionBoostSpecs()
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder clone()
Overrides
getConditionBoostSpecs(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec getConditionBoostSpecs(int index)
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getConditionBoostSpecsBuilder(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec.Builder getConditionBoostSpecsBuilder(int index)
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getConditionBoostSpecsBuilderList()
public List<SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec.Builder> getConditionBoostSpecsBuilderList()
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
getConditionBoostSpecsCount()
public int getConditionBoostSpecsCount()
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getConditionBoostSpecsList()
public List<SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec> getConditionBoostSpecsList()
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
getConditionBoostSpecsOrBuilder(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpecOrBuilder getConditionBoostSpecsOrBuilder(int index)
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getConditionBoostSpecsOrBuilderList()
public List<? extends SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpecOrBuilder> getConditionBoostSpecsOrBuilderList()
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpecOrBuilder> |
|
getDefaultInstanceForType()
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec other)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder mergeFrom(SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec other)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeConditionBoostSpecs(int index)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder removeConditionBoostSpecs(int index)
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
setConditionBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec value)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder setConditionBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec value)
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
setConditionBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec.Builder builderForValue)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder setConditionBoostSpecs(int index, SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec.Builder builderForValue)
Optional. Condition boost specifications. If a document matches
multiple conditions in the specifictions, boost scores from these
specifications are all applied and combined in a non-linear way.
Maximum number of specifications is 20.
repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides