public static final class CatalogAttribute.FacetConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder> implements CatalogAttribute.FacetConfigOrBuilder
Possible options for the facet that corresponds to the current attribute config.Protobuf type
google.cloud.retail.v2.CatalogAttribute.FacetConfig| Modifier and Type | Method and Description |
|---|---|
CatalogAttribute.FacetConfig.Builder |
addAllFacetIntervals(Iterable<? extends Interval> values)
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
CatalogAttribute.FacetConfig.Builder |
addAllIgnoredFacetValues(Iterable<? extends CatalogAttribute.FacetConfig.IgnoredFacetValues> values)
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.Builder |
addAllMergedFacetValues(Iterable<? extends CatalogAttribute.FacetConfig.MergedFacetValue> values)
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.Builder |
addFacetIntervals(Interval.Builder builderForValue)
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
CatalogAttribute.FacetConfig.Builder |
addFacetIntervals(Interval value)
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
CatalogAttribute.FacetConfig.Builder |
addFacetIntervals(int index,
Interval.Builder builderForValue)
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
CatalogAttribute.FacetConfig.Builder |
addFacetIntervals(int index,
Interval value)
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
Interval.Builder |
addFacetIntervalsBuilder()
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
Interval.Builder |
addFacetIntervalsBuilder(int index)
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
CatalogAttribute.FacetConfig.Builder |
addIgnoredFacetValues(CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder builderForValue)
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.Builder |
addIgnoredFacetValues(CatalogAttribute.FacetConfig.IgnoredFacetValues value)
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.Builder |
addIgnoredFacetValues(int index,
CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder builderForValue)
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.Builder |
addIgnoredFacetValues(int index,
CatalogAttribute.FacetConfig.IgnoredFacetValues value)
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder |
addIgnoredFacetValuesBuilder()
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder |
addIgnoredFacetValuesBuilder(int index)
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.Builder |
addMergedFacetValues(CatalogAttribute.FacetConfig.MergedFacetValue.Builder builderForValue)
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.Builder |
addMergedFacetValues(CatalogAttribute.FacetConfig.MergedFacetValue value)
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.Builder |
addMergedFacetValues(int index,
CatalogAttribute.FacetConfig.MergedFacetValue.Builder builderForValue)
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.Builder |
addMergedFacetValues(int index,
CatalogAttribute.FacetConfig.MergedFacetValue value)
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.MergedFacetValue.Builder |
addMergedFacetValuesBuilder()
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.MergedFacetValue.Builder |
addMergedFacetValuesBuilder(int index)
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CatalogAttribute.FacetConfig |
build() |
CatalogAttribute.FacetConfig |
buildPartial() |
CatalogAttribute.FacetConfig.Builder |
clear() |
CatalogAttribute.FacetConfig.Builder |
clearFacetIntervals()
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
CatalogAttribute.FacetConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CatalogAttribute.FacetConfig.Builder |
clearIgnoredFacetValues()
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.Builder |
clearMergedFacet()
Use this field only if you want to merge a facet key into another facet
key.
|
CatalogAttribute.FacetConfig.Builder |
clearMergedFacetValues()
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CatalogAttribute.FacetConfig.Builder |
clearRerankConfig()
Set this field only if you want to rerank based on facet values engaged
by the user for the current key.
|
CatalogAttribute.FacetConfig.Builder |
clone() |
CatalogAttribute.FacetConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Interval |
getFacetIntervals(int index)
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
Interval.Builder |
getFacetIntervalsBuilder(int index)
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
List<Interval.Builder> |
getFacetIntervalsBuilderList()
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
int |
getFacetIntervalsCount()
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
List<Interval> |
getFacetIntervalsList()
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
IntervalOrBuilder |
getFacetIntervalsOrBuilder(int index)
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
List<? extends IntervalOrBuilder> |
getFacetIntervalsOrBuilderList()
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
CatalogAttribute.FacetConfig.IgnoredFacetValues |
getIgnoredFacetValues(int index)
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder |
getIgnoredFacetValuesBuilder(int index)
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
List<CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder> |
getIgnoredFacetValuesBuilderList()
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
int |
getIgnoredFacetValuesCount()
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
List<CatalogAttribute.FacetConfig.IgnoredFacetValues> |
getIgnoredFacetValuesList()
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder |
getIgnoredFacetValuesOrBuilder(int index)
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
List<? extends CatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder> |
getIgnoredFacetValuesOrBuilderList()
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.MergedFacet |
getMergedFacet()
Use this field only if you want to merge a facet key into another facet
key.
|
CatalogAttribute.FacetConfig.MergedFacet.Builder |
getMergedFacetBuilder()
Use this field only if you want to merge a facet key into another facet
key.
|
CatalogAttribute.FacetConfig.MergedFacetOrBuilder |
getMergedFacetOrBuilder()
Use this field only if you want to merge a facet key into another facet
key.
|
CatalogAttribute.FacetConfig.MergedFacetValue |
getMergedFacetValues(int index)
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.MergedFacetValue.Builder |
getMergedFacetValuesBuilder(int index)
Each instance replaces a list of facet values by a merged facet
value.
|
List<CatalogAttribute.FacetConfig.MergedFacetValue.Builder> |
getMergedFacetValuesBuilderList()
Each instance replaces a list of facet values by a merged facet
value.
|
int |
getMergedFacetValuesCount()
Each instance replaces a list of facet values by a merged facet
value.
|
List<CatalogAttribute.FacetConfig.MergedFacetValue> |
getMergedFacetValuesList()
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.MergedFacetValueOrBuilder |
getMergedFacetValuesOrBuilder(int index)
Each instance replaces a list of facet values by a merged facet
value.
|
List<? extends CatalogAttribute.FacetConfig.MergedFacetValueOrBuilder> |
getMergedFacetValuesOrBuilderList()
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.RerankConfig |
getRerankConfig()
Set this field only if you want to rerank based on facet values engaged
by the user for the current key.
|
CatalogAttribute.FacetConfig.RerankConfig.Builder |
getRerankConfigBuilder()
Set this field only if you want to rerank based on facet values engaged
by the user for the current key.
|
CatalogAttribute.FacetConfig.RerankConfigOrBuilder |
getRerankConfigOrBuilder()
Set this field only if you want to rerank based on facet values engaged
by the user for the current key.
|
boolean |
hasMergedFacet()
Use this field only if you want to merge a facet key into another facet
key.
|
boolean |
hasRerankConfig()
Set this field only if you want to rerank based on facet values engaged
by the user for the current key.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CatalogAttribute.FacetConfig.Builder |
mergeFrom(CatalogAttribute.FacetConfig other) |
CatalogAttribute.FacetConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CatalogAttribute.FacetConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
CatalogAttribute.FacetConfig.Builder |
mergeMergedFacet(CatalogAttribute.FacetConfig.MergedFacet value)
Use this field only if you want to merge a facet key into another facet
key.
|
CatalogAttribute.FacetConfig.Builder |
mergeRerankConfig(CatalogAttribute.FacetConfig.RerankConfig value)
Set this field only if you want to rerank based on facet values engaged
by the user for the current key.
|
CatalogAttribute.FacetConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CatalogAttribute.FacetConfig.Builder |
removeFacetIntervals(int index)
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
CatalogAttribute.FacetConfig.Builder |
removeIgnoredFacetValues(int index)
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.Builder |
removeMergedFacetValues(int index)
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.Builder |
setFacetIntervals(int index,
Interval.Builder builderForValue)
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
CatalogAttribute.FacetConfig.Builder |
setFacetIntervals(int index,
Interval value)
If you don't set the facet
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals]
in the request to a numerical attribute, then we use the computed
intervals with rounded bounds obtained from all its product numerical
attribute values.
|
CatalogAttribute.FacetConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CatalogAttribute.FacetConfig.Builder |
setIgnoredFacetValues(int index,
CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder builderForValue)
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.Builder |
setIgnoredFacetValues(int index,
CatalogAttribute.FacetConfig.IgnoredFacetValues value)
Each instance represents a list of attribute values to ignore as facet
values for a specific time range.
|
CatalogAttribute.FacetConfig.Builder |
setMergedFacet(CatalogAttribute.FacetConfig.MergedFacet.Builder builderForValue)
Use this field only if you want to merge a facet key into another facet
key.
|
CatalogAttribute.FacetConfig.Builder |
setMergedFacet(CatalogAttribute.FacetConfig.MergedFacet value)
Use this field only if you want to merge a facet key into another facet
key.
|
CatalogAttribute.FacetConfig.Builder |
setMergedFacetValues(int index,
CatalogAttribute.FacetConfig.MergedFacetValue.Builder builderForValue)
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.Builder |
setMergedFacetValues(int index,
CatalogAttribute.FacetConfig.MergedFacetValue value)
Each instance replaces a list of facet values by a merged facet
value.
|
CatalogAttribute.FacetConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CatalogAttribute.FacetConfig.Builder |
setRerankConfig(CatalogAttribute.FacetConfig.RerankConfig.Builder builderForValue)
Set this field only if you want to rerank based on facet values engaged
by the user for the current key.
|
CatalogAttribute.FacetConfig.Builder |
setRerankConfig(CatalogAttribute.FacetConfig.RerankConfig value)
Set this field only if you want to rerank based on facet values engaged
by the user for the current key.
|
CatalogAttribute.FacetConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder>public CatalogAttribute.FacetConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder>public CatalogAttribute.FacetConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CatalogAttribute.FacetConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CatalogAttribute.FacetConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CatalogAttribute.FacetConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder>public CatalogAttribute.FacetConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder>public CatalogAttribute.FacetConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder>public CatalogAttribute.FacetConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder>public CatalogAttribute.FacetConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder>public CatalogAttribute.FacetConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder>public CatalogAttribute.FacetConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CatalogAttribute.FacetConfig.Builder>public CatalogAttribute.FacetConfig.Builder mergeFrom(CatalogAttribute.FacetConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder>public CatalogAttribute.FacetConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CatalogAttribute.FacetConfig.Builder>IOExceptionpublic List<Interval> getFacetIntervalsList()
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;getFacetIntervalsList in interface CatalogAttribute.FacetConfigOrBuilderpublic int getFacetIntervalsCount()
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;getFacetIntervalsCount in interface CatalogAttribute.FacetConfigOrBuilderpublic Interval getFacetIntervals(int index)
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;getFacetIntervals in interface CatalogAttribute.FacetConfigOrBuilderpublic CatalogAttribute.FacetConfig.Builder setFacetIntervals(int index, Interval value)
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public CatalogAttribute.FacetConfig.Builder setFacetIntervals(int index, Interval.Builder builderForValue)
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public CatalogAttribute.FacetConfig.Builder addFacetIntervals(Interval value)
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public CatalogAttribute.FacetConfig.Builder addFacetIntervals(int index, Interval value)
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public CatalogAttribute.FacetConfig.Builder addFacetIntervals(Interval.Builder builderForValue)
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public CatalogAttribute.FacetConfig.Builder addFacetIntervals(int index, Interval.Builder builderForValue)
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public CatalogAttribute.FacetConfig.Builder addAllFacetIntervals(Iterable<? extends Interval> values)
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public CatalogAttribute.FacetConfig.Builder clearFacetIntervals()
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public CatalogAttribute.FacetConfig.Builder removeFacetIntervals(int index)
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public Interval.Builder getFacetIntervalsBuilder(int index)
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public IntervalOrBuilder getFacetIntervalsOrBuilder(int index)
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;getFacetIntervalsOrBuilder in interface CatalogAttribute.FacetConfigOrBuilderpublic List<? extends IntervalOrBuilder> getFacetIntervalsOrBuilderList()
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;getFacetIntervalsOrBuilderList in interface CatalogAttribute.FacetConfigOrBuilderpublic Interval.Builder addFacetIntervalsBuilder()
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public Interval.Builder addFacetIntervalsBuilder(int index)
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public List<Interval.Builder> getFacetIntervalsBuilderList()
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.intervals] in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.
repeated .google.cloud.retail.v2.Interval facet_intervals = 1;public List<CatalogAttribute.FacetConfig.IgnoredFacetValues> getIgnoredFacetValuesList()
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
getIgnoredFacetValuesList in interface CatalogAttribute.FacetConfigOrBuilderpublic int getIgnoredFacetValuesCount()
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
getIgnoredFacetValuesCount in interface CatalogAttribute.FacetConfigOrBuilderpublic CatalogAttribute.FacetConfig.IgnoredFacetValues getIgnoredFacetValues(int index)
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
getIgnoredFacetValues in interface CatalogAttribute.FacetConfigOrBuilderpublic CatalogAttribute.FacetConfig.Builder setIgnoredFacetValues(int index, CatalogAttribute.FacetConfig.IgnoredFacetValues value)
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public CatalogAttribute.FacetConfig.Builder setIgnoredFacetValues(int index, CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder builderForValue)
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public CatalogAttribute.FacetConfig.Builder addIgnoredFacetValues(CatalogAttribute.FacetConfig.IgnoredFacetValues value)
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public CatalogAttribute.FacetConfig.Builder addIgnoredFacetValues(int index, CatalogAttribute.FacetConfig.IgnoredFacetValues value)
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public CatalogAttribute.FacetConfig.Builder addIgnoredFacetValues(CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder builderForValue)
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public CatalogAttribute.FacetConfig.Builder addIgnoredFacetValues(int index, CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder builderForValue)
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public CatalogAttribute.FacetConfig.Builder addAllIgnoredFacetValues(Iterable<? extends CatalogAttribute.FacetConfig.IgnoredFacetValues> values)
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public CatalogAttribute.FacetConfig.Builder clearIgnoredFacetValues()
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public CatalogAttribute.FacetConfig.Builder removeIgnoredFacetValues(int index)
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder getIgnoredFacetValuesBuilder(int index)
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public CatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder getIgnoredFacetValuesOrBuilder(int index)
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
getIgnoredFacetValuesOrBuilder in interface CatalogAttribute.FacetConfigOrBuilderpublic List<? extends CatalogAttribute.FacetConfig.IgnoredFacetValuesOrBuilder> getIgnoredFacetValuesOrBuilderList()
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
getIgnoredFacetValuesOrBuilderList in interface CatalogAttribute.FacetConfigOrBuilderpublic CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder addIgnoredFacetValuesBuilder()
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder addIgnoredFacetValuesBuilder(int index)
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public List<CatalogAttribute.FacetConfig.IgnoredFacetValues.Builder> getIgnoredFacetValuesBuilderList()
Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;
public List<CatalogAttribute.FacetConfig.MergedFacetValue> getMergedFacetValuesList()
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
getMergedFacetValuesList in interface CatalogAttribute.FacetConfigOrBuilderpublic int getMergedFacetValuesCount()
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
getMergedFacetValuesCount in interface CatalogAttribute.FacetConfigOrBuilderpublic CatalogAttribute.FacetConfig.MergedFacetValue getMergedFacetValues(int index)
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
getMergedFacetValues in interface CatalogAttribute.FacetConfigOrBuilderpublic CatalogAttribute.FacetConfig.Builder setMergedFacetValues(int index, CatalogAttribute.FacetConfig.MergedFacetValue value)
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public CatalogAttribute.FacetConfig.Builder setMergedFacetValues(int index, CatalogAttribute.FacetConfig.MergedFacetValue.Builder builderForValue)
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public CatalogAttribute.FacetConfig.Builder addMergedFacetValues(CatalogAttribute.FacetConfig.MergedFacetValue value)
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public CatalogAttribute.FacetConfig.Builder addMergedFacetValues(int index, CatalogAttribute.FacetConfig.MergedFacetValue value)
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public CatalogAttribute.FacetConfig.Builder addMergedFacetValues(CatalogAttribute.FacetConfig.MergedFacetValue.Builder builderForValue)
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public CatalogAttribute.FacetConfig.Builder addMergedFacetValues(int index, CatalogAttribute.FacetConfig.MergedFacetValue.Builder builderForValue)
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public CatalogAttribute.FacetConfig.Builder addAllMergedFacetValues(Iterable<? extends CatalogAttribute.FacetConfig.MergedFacetValue> values)
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public CatalogAttribute.FacetConfig.Builder clearMergedFacetValues()
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public CatalogAttribute.FacetConfig.Builder removeMergedFacetValues(int index)
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public CatalogAttribute.FacetConfig.MergedFacetValue.Builder getMergedFacetValuesBuilder(int index)
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public CatalogAttribute.FacetConfig.MergedFacetValueOrBuilder getMergedFacetValuesOrBuilder(int index)
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
getMergedFacetValuesOrBuilder in interface CatalogAttribute.FacetConfigOrBuilderpublic List<? extends CatalogAttribute.FacetConfig.MergedFacetValueOrBuilder> getMergedFacetValuesOrBuilderList()
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
getMergedFacetValuesOrBuilderList in interface CatalogAttribute.FacetConfigOrBuilderpublic CatalogAttribute.FacetConfig.MergedFacetValue.Builder addMergedFacetValuesBuilder()
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public CatalogAttribute.FacetConfig.MergedFacetValue.Builder addMergedFacetValuesBuilder(int index)
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public List<CatalogAttribute.FacetConfig.MergedFacetValue.Builder> getMergedFacetValuesBuilderList()
Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if "dark_blue" merged into "BLUE", then the latter can't merge into "blues" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;
public boolean hasMergedFacet()
Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4;
hasMergedFacet in interface CatalogAttribute.FacetConfigOrBuilderpublic CatalogAttribute.FacetConfig.MergedFacet getMergedFacet()
Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4;
getMergedFacet in interface CatalogAttribute.FacetConfigOrBuilderpublic CatalogAttribute.FacetConfig.Builder setMergedFacet(CatalogAttribute.FacetConfig.MergedFacet value)
Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4;
public CatalogAttribute.FacetConfig.Builder setMergedFacet(CatalogAttribute.FacetConfig.MergedFacet.Builder builderForValue)
Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4;
public CatalogAttribute.FacetConfig.Builder mergeMergedFacet(CatalogAttribute.FacetConfig.MergedFacet value)
Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4;
public CatalogAttribute.FacetConfig.Builder clearMergedFacet()
Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4;
public CatalogAttribute.FacetConfig.MergedFacet.Builder getMergedFacetBuilder()
Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4;
public CatalogAttribute.FacetConfig.MergedFacetOrBuilder getMergedFacetOrBuilder()
Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4;
getMergedFacetOrBuilder in interface CatalogAttribute.FacetConfigOrBuilderpublic boolean hasRerankConfig()
Set this field only if you want to rerank based on facet values engaged by the user for the current key. This option is only possible for custom facetable textual keys.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5;
hasRerankConfig in interface CatalogAttribute.FacetConfigOrBuilderpublic CatalogAttribute.FacetConfig.RerankConfig getRerankConfig()
Set this field only if you want to rerank based on facet values engaged by the user for the current key. This option is only possible for custom facetable textual keys.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5;
getRerankConfig in interface CatalogAttribute.FacetConfigOrBuilderpublic CatalogAttribute.FacetConfig.Builder setRerankConfig(CatalogAttribute.FacetConfig.RerankConfig value)
Set this field only if you want to rerank based on facet values engaged by the user for the current key. This option is only possible for custom facetable textual keys.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5;
public CatalogAttribute.FacetConfig.Builder setRerankConfig(CatalogAttribute.FacetConfig.RerankConfig.Builder builderForValue)
Set this field only if you want to rerank based on facet values engaged by the user for the current key. This option is only possible for custom facetable textual keys.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5;
public CatalogAttribute.FacetConfig.Builder mergeRerankConfig(CatalogAttribute.FacetConfig.RerankConfig value)
Set this field only if you want to rerank based on facet values engaged by the user for the current key. This option is only possible for custom facetable textual keys.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5;
public CatalogAttribute.FacetConfig.Builder clearRerankConfig()
Set this field only if you want to rerank based on facet values engaged by the user for the current key. This option is only possible for custom facetable textual keys.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5;
public CatalogAttribute.FacetConfig.RerankConfig.Builder getRerankConfigBuilder()
Set this field only if you want to rerank based on facet values engaged by the user for the current key. This option is only possible for custom facetable textual keys.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5;
public CatalogAttribute.FacetConfig.RerankConfigOrBuilder getRerankConfigOrBuilder()
Set this field only if you want to rerank based on facet values engaged by the user for the current key. This option is only possible for custom facetable textual keys.
.google.cloud.retail.v2.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5;
getRerankConfigOrBuilder in interface CatalogAttribute.FacetConfigOrBuilderpublic final CatalogAttribute.FacetConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder>public final CatalogAttribute.FacetConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CatalogAttribute.FacetConfig.Builder>Copyright © 2025 Google LLC. All rights reserved.