public static final class BoostSpec.Builder extends GeneratedMessage.Builder<BoostSpec.Builder> implements BoostSpecOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllConditionBoostSpecs(Iterable<? extends BoostSpec.ConditionBoostSpec> values)
public BoostSpec.Builder addAllConditionBoostSpecs(Iterable<? extends BoostSpec.ConditionBoostSpec> values)
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpec>
|
addConditionBoostSpecs(BoostSpec.ConditionBoostSpec value)
public BoostSpec.Builder addConditionBoostSpecs(BoostSpec.ConditionBoostSpec value)
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addConditionBoostSpecs(BoostSpec.ConditionBoostSpec.Builder builderForValue)
public BoostSpec.Builder addConditionBoostSpecs(BoostSpec.ConditionBoostSpec.Builder builderForValue)
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addConditionBoostSpecs(int index, BoostSpec.ConditionBoostSpec value)
public BoostSpec.Builder addConditionBoostSpecs(int index, BoostSpec.ConditionBoostSpec value)
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addConditionBoostSpecs(int index, BoostSpec.ConditionBoostSpec.Builder builderForValue)
public BoostSpec.Builder addConditionBoostSpecs(int index, BoostSpec.ConditionBoostSpec.Builder builderForValue)
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addConditionBoostSpecsBuilder()
public BoostSpec.ConditionBoostSpec.Builder addConditionBoostSpecsBuilder()
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addConditionBoostSpecsBuilder(int index)
public BoostSpec.ConditionBoostSpec.Builder addConditionBoostSpecsBuilder(int index)
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
build()
buildPartial()
public BoostSpec buildPartial()
clear()
public BoostSpec.Builder clear()
Overrides
clearConditionBoostSpecs()
public BoostSpec.Builder clearConditionBoostSpecs()
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
getConditionBoostSpecs(int index)
public BoostSpec.ConditionBoostSpec getConditionBoostSpecs(int index)
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getConditionBoostSpecsBuilder(int index)
public BoostSpec.ConditionBoostSpec.Builder getConditionBoostSpecsBuilder(int index)
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getConditionBoostSpecsBuilderList()
public List<BoostSpec.ConditionBoostSpec.Builder> getConditionBoostSpecsBuilderList()
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.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 specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getConditionBoostSpecsList()
public List<BoostSpec.ConditionBoostSpec> getConditionBoostSpecsList()
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
getConditionBoostSpecsOrBuilder(int index)
public BoostSpec.ConditionBoostSpecOrBuilder getConditionBoostSpecsOrBuilder(int index)
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getConditionBoostSpecsOrBuilderList()
public List<? extends BoostSpec.ConditionBoostSpecOrBuilder> getConditionBoostSpecsOrBuilderList()
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.BoostSpec.ConditionBoostSpecOrBuilder> |
|
getDefaultInstanceForType()
public BoostSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BoostSpec other)
public BoostSpec.Builder mergeFrom(BoostSpec other)
public BoostSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BoostSpec.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeConditionBoostSpecs(int index)
public BoostSpec.Builder removeConditionBoostSpecs(int index)
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
setConditionBoostSpecs(int index, BoostSpec.ConditionBoostSpec value)
public BoostSpec.Builder setConditionBoostSpecs(int index, BoostSpec.ConditionBoostSpec value)
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
setConditionBoostSpecs(int index, BoostSpec.ConditionBoostSpec.Builder builderForValue)
public BoostSpec.Builder setConditionBoostSpecs(int index, BoostSpec.ConditionBoostSpec.Builder builderForValue)
Optional. Condition boost specifications. If a document matches multiple
conditions in the specifications, 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];