public static final class BoostSpec.Builder extends GeneratedMessageV3.Builder<BoostSpec.Builder> implements 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 BoostSpec.ConditionBoostSpec> values)
public BoostSpec.Builder addAllConditionBoostSpecs(Iterable<? extends 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.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 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.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 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.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 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.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 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.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 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.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 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BoostSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public BoostSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BoostSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public BoostSpec.Builder clone()
Overrides
getConditionBoostSpecs(int index)
public 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.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 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.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 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.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 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.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 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.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 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.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 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.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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BoostSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeConditionBoostSpecs(int index)
public 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.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 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.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 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.cx.v3beta1.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public BoostSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BoostSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BoostSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides