public static final class AdvancedCompleteQueryRequest.BoostSpec.Builder extends GeneratedMessageV3.Builder<AdvancedCompleteQueryRequest.BoostSpec.Builder> implements AdvancedCompleteQueryRequest.BoostSpecOrBuilder
Specification to boost suggestions based on the condtion of the suggestion.
Protobuf type
google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec
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 AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec> values)
public AdvancedCompleteQueryRequest.BoostSpec.Builder addAllConditionBoostSpecs(Iterable<? extends AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec> values)
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec>
|
addConditionBoostSpecs(AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec value)
public AdvancedCompleteQueryRequest.BoostSpec.Builder addConditionBoostSpecs(AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec value)
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
addConditionBoostSpecs(AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
public AdvancedCompleteQueryRequest.BoostSpec.Builder addConditionBoostSpecs(AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
addConditionBoostSpecs(int index, AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec value)
public AdvancedCompleteQueryRequest.BoostSpec.Builder addConditionBoostSpecs(int index, AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec value)
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
addConditionBoostSpecs(int index, AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
public AdvancedCompleteQueryRequest.BoostSpec.Builder addConditionBoostSpecs(int index, AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
addConditionBoostSpecsBuilder()
public AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec.Builder addConditionBoostSpecsBuilder()
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
addConditionBoostSpecsBuilder(int index)
public AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec.Builder addConditionBoostSpecsBuilder(int index)
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdvancedCompleteQueryRequest.BoostSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AdvancedCompleteQueryRequest.BoostSpec build()
buildPartial()
public AdvancedCompleteQueryRequest.BoostSpec buildPartial()
clear()
public AdvancedCompleteQueryRequest.BoostSpec.Builder clear()
Overrides
clearConditionBoostSpecs()
public AdvancedCompleteQueryRequest.BoostSpec.Builder clearConditionBoostSpecs()
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
clearField(Descriptors.FieldDescriptor field)
public AdvancedCompleteQueryRequest.BoostSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AdvancedCompleteQueryRequest.BoostSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AdvancedCompleteQueryRequest.BoostSpec.Builder clone()
Overrides
getConditionBoostSpecs(int index)
public AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec getConditionBoostSpecs(int index)
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
Parameter |
Name |
Description |
index |
int
|
getConditionBoostSpecsBuilder(int index)
public AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec.Builder getConditionBoostSpecsBuilder(int index)
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
Parameter |
Name |
Description |
index |
int
|
getConditionBoostSpecsBuilderList()
public List<AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec.Builder> getConditionBoostSpecsBuilderList()
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
getConditionBoostSpecsCount()
public int getConditionBoostSpecsCount()
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
Returns |
Type |
Description |
int |
|
getConditionBoostSpecsList()
public List<AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec> getConditionBoostSpecsList()
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
getConditionBoostSpecsOrBuilder(int index)
public AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpecOrBuilder getConditionBoostSpecsOrBuilder(int index)
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
Parameter |
Name |
Description |
index |
int
|
getConditionBoostSpecsOrBuilderList()
public List<? extends AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpecOrBuilder> getConditionBoostSpecsOrBuilderList()
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpecOrBuilder> |
|
getDefaultInstanceForType()
public AdvancedCompleteQueryRequest.BoostSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AdvancedCompleteQueryRequest.BoostSpec other)
public AdvancedCompleteQueryRequest.BoostSpec.Builder mergeFrom(AdvancedCompleteQueryRequest.BoostSpec other)
public AdvancedCompleteQueryRequest.BoostSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AdvancedCompleteQueryRequest.BoostSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdvancedCompleteQueryRequest.BoostSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeConditionBoostSpecs(int index)
public AdvancedCompleteQueryRequest.BoostSpec.Builder removeConditionBoostSpecs(int index)
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
Parameter |
Name |
Description |
index |
int
|
setConditionBoostSpecs(int index, AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec value)
public AdvancedCompleteQueryRequest.BoostSpec.Builder setConditionBoostSpecs(int index, AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec value)
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
setConditionBoostSpecs(int index, AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
public AdvancedCompleteQueryRequest.BoostSpec.Builder setConditionBoostSpecs(int index, AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue)
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public AdvancedCompleteQueryRequest.BoostSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdvancedCompleteQueryRequest.BoostSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AdvancedCompleteQueryRequest.BoostSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides