Package com.google.cloud.retail.v2alpha
Class CatalogAttribute.FacetConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CatalogAttribute.FacetConfig.Builder>
com.google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.Builder
- All Implemented Interfaces:
CatalogAttribute.FacetConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CatalogAttribute.FacetConfig
public static final class CatalogAttribute.FacetConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CatalogAttribute.FacetConfig.Builder>
implements CatalogAttribute.FacetConfigOrBuilder
Possible options for the facet that corresponds to the current attribute config.Protobuf type
google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllFacetIntervals(Iterable<? extends Interval> values) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.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.addAllMergedFacetValues(Iterable<? extends CatalogAttribute.FacetConfig.MergedFacetValue> values) Each instance replaces a list of facet values by a merged facet value.addFacetIntervals(int index, Interval value) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.addFacetIntervals(int index, Interval.Builder builderForValue) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.addFacetIntervals(Interval value) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.addFacetIntervals(Interval.Builder builderForValue) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.addFacetIntervalsBuilder(int index) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.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.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.Each instance represents a list of attribute values to ignore as facet values for a specific time range.Each instance represents a list of attribute values to ignore as facet values for a specific time range.Each instance represents a list of attribute values to ignore as facet values for a specific time range.addIgnoredFacetValuesBuilder(int index) Each instance represents a list of attribute values to ignore as facet values for a specific time range.addMergedFacetValues(int index, CatalogAttribute.FacetConfig.MergedFacetValue value) Each instance replaces a list of facet values by a merged facet value.addMergedFacetValues(int index, CatalogAttribute.FacetConfig.MergedFacetValue.Builder builderForValue) Each instance replaces a list of facet values by a merged facet value.Each instance replaces a list of facet values by a merged facet value.Each instance replaces a list of facet values by a merged facet value.Each instance replaces a list of facet values by a merged facet value.addMergedFacetValuesBuilder(int index) Each instance replaces a list of facet values by a merged facet value.build()clear()If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.Each instance represents a list of attribute values to ignore as facet values for a specific time range.Use this field only if you want to merge a facet key into another facet key.Each instance replaces a list of facet values by a merged facet value.Set this field only if you want to rerank based on facet values engaged by the user for the current key.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFacetIntervals(int index) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.getFacetIntervalsBuilder(int index) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.intIf you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.getFacetIntervalsOrBuilder(int index) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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>If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.getIgnoredFacetValues(int index) Each instance represents a list of attribute values to ignore as facet values for a specific time range.getIgnoredFacetValuesBuilder(int index) Each instance represents a list of attribute values to ignore as facet values for a specific time range.Each instance represents a list of attribute values to ignore as facet values for a specific time range.intEach instance represents a list of attribute values to ignore as facet values for a specific time range.Each instance represents a list of attribute values to ignore as facet values for a specific time range.getIgnoredFacetValuesOrBuilder(int index) Each instance represents a list of attribute values to ignore as facet values for a specific time range.Each instance represents a list of attribute values to ignore as facet values for a specific time range.Use this field only if you want to merge a facet key into another facet key.Use this field only if you want to merge a facet key into another facet key.Use this field only if you want to merge a facet key into another facet key.getMergedFacetValues(int index) Each instance replaces a list of facet values by a merged facet value.getMergedFacetValuesBuilder(int index) Each instance replaces a list of facet values by a merged facet value.Each instance replaces a list of facet values by a merged facet value.intEach instance replaces a list of facet values by a merged facet value.Each instance replaces a list of facet values by a merged facet value.getMergedFacetValuesOrBuilder(int index) Each instance replaces a list of facet values by a merged facet value.Each instance replaces a list of facet values by a merged facet value.Set this field only if you want to rerank based on facet values engaged by the user for the current key.Set this field only if you want to rerank based on facet values engaged by the user for the current key.Set this field only if you want to rerank based on facet values engaged by the user for the current key.booleanUse this field only if you want to merge a facet key into another facet key.booleanSet this field only if you want to rerank based on facet values engaged by the user for the current key.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Use this field only if you want to merge a facet key into another facet key.Set this field only if you want to rerank based on facet values engaged by the user for the current key.removeFacetIntervals(int index) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.removeIgnoredFacetValues(int index) Each instance represents a list of attribute values to ignore as facet values for a specific time range.removeMergedFacetValues(int index) Each instance replaces a list of facet values by a merged facet value.setFacetIntervals(int index, Interval value) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.setFacetIntervals(int index, Interval.Builder builderForValue) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.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.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.Use this field only if you want to merge a facet key into another facet key.setMergedFacet(CatalogAttribute.FacetConfig.MergedFacet.Builder builderForValue) Use this field only if you want to merge a facet key into another facet key.setMergedFacetValues(int index, CatalogAttribute.FacetConfig.MergedFacetValue value) Each instance replaces a list of facet values by a merged facet value.setMergedFacetValues(int index, CatalogAttribute.FacetConfig.MergedFacetValue.Builder builderForValue) Each instance replaces a list of facet values by a merged facet value.Set this field only if you want to rerank based on facet values engaged by the user for the current key.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CatalogAttribute.FacetConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CatalogAttribute.FacetConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CatalogAttribute.FacetConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CatalogAttribute.FacetConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CatalogAttribute.FacetConfig.Builder>
-
mergeFrom
public CatalogAttribute.FacetConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CatalogAttribute.FacetConfig.Builder>- Throws:
IOException
-
getFacetIntervalsList
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1;- Specified by:
getFacetIntervalsListin interfaceCatalogAttribute.FacetConfigOrBuilder
-
getFacetIntervalsCount
public int getFacetIntervalsCount()If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1;- Specified by:
getFacetIntervalsCountin interfaceCatalogAttribute.FacetConfigOrBuilder
-
getFacetIntervals
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1;- Specified by:
getFacetIntervalsin interfaceCatalogAttribute.FacetConfigOrBuilder
-
setFacetIntervals
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
setFacetIntervals
public CatalogAttribute.FacetConfig.Builder setFacetIntervals(int index, Interval.Builder builderForValue) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
addFacetIntervals
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
addFacetIntervals
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
addFacetIntervals
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
addFacetIntervals
public CatalogAttribute.FacetConfig.Builder addFacetIntervals(int index, Interval.Builder builderForValue) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
addAllFacetIntervals
public CatalogAttribute.FacetConfig.Builder addAllFacetIntervals(Iterable<? extends Interval> values) If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
clearFacetIntervals
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
removeFacetIntervals
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
getFacetIntervalsBuilder
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
getFacetIntervalsOrBuilder
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1;- Specified by:
getFacetIntervalsOrBuilderin interfaceCatalogAttribute.FacetConfigOrBuilder
-
getFacetIntervalsOrBuilderList
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1;- Specified by:
getFacetIntervalsOrBuilderListin interfaceCatalogAttribute.FacetConfigOrBuilder
-
addFacetIntervalsBuilder
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
addFacetIntervalsBuilder
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
getFacetIntervalsBuilderList
If you don't set the facet [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.Interval facet_intervals = 1; -
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;- Specified by:
getIgnoredFacetValuesListin interfaceCatalogAttribute.FacetConfigOrBuilder
-
getIgnoredFacetValuesCount
public 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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;- Specified by:
getIgnoredFacetValuesCountin interfaceCatalogAttribute.FacetConfigOrBuilder
-
getIgnoredFacetValues
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;- Specified by:
getIgnoredFacetValuesin interfaceCatalogAttribute.FacetConfigOrBuilder
-
setIgnoredFacetValues
public 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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
setIgnoredFacetValues
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
addIgnoredFacetValues
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
addIgnoredFacetValues
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
addIgnoredFacetValues
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
addIgnoredFacetValues
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
addAllIgnoredFacetValues
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
removeIgnoredFacetValues
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
getIgnoredFacetValuesBuilder
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
getIgnoredFacetValuesOrBuilder
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;- Specified by:
getIgnoredFacetValuesOrBuilderin interfaceCatalogAttribute.FacetConfigOrBuilder
-
getIgnoredFacetValuesOrBuilderList
public 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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2;- Specified by:
getIgnoredFacetValuesOrBuilderListin interfaceCatalogAttribute.FacetConfigOrBuilder
-
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
addIgnoredFacetValuesBuilder
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
getIgnoredFacetValuesBuilderList
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.v2alpha.CatalogAttribute] is 25.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.IgnoredFacetValues ignored_facet_values = 2; -
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;- Specified by:
getMergedFacetValuesListin interfaceCatalogAttribute.FacetConfigOrBuilder
-
getMergedFacetValuesCount
public 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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;- Specified by:
getMergedFacetValuesCountin interfaceCatalogAttribute.FacetConfigOrBuilder
-
getMergedFacetValues
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;- Specified by:
getMergedFacetValuesin interfaceCatalogAttribute.FacetConfigOrBuilder
-
setMergedFacetValues
public 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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
setMergedFacetValues
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
addMergedFacetValues
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
addMergedFacetValues
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
addMergedFacetValues
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
addMergedFacetValues
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
addAllMergedFacetValues
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
removeMergedFacetValues
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
getMergedFacetValuesBuilder
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
getMergedFacetValuesOrBuilder
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;- Specified by:
getMergedFacetValuesOrBuilderin interfaceCatalogAttribute.FacetConfigOrBuilder
-
getMergedFacetValuesOrBuilderList
public 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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3;- Specified by:
getMergedFacetValuesOrBuilderListin interfaceCatalogAttribute.FacetConfigOrBuilder
-
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
getMergedFacetValuesBuilderList
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.v2alpha.CatalogAttribute] is 100. This feature is available only for textual custom attributes.
repeated .google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacetValue merged_facet_values = 3; -
hasMergedFacet
public boolean hasMergedFacet()Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4;- Specified by:
hasMergedFacetin interfaceCatalogAttribute.FacetConfigOrBuilder- Returns:
- Whether the mergedFacet field is set.
-
getMergedFacet
Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4;- Specified by:
getMergedFacetin interfaceCatalogAttribute.FacetConfigOrBuilder- Returns:
- The mergedFacet.
-
setMergedFacet
public 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.v2alpha.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4; -
setMergedFacet
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.v2alpha.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4; -
mergeMergedFacet
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.v2alpha.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4; -
clearMergedFacet
Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4; -
getMergedFacetBuilder
Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4; -
getMergedFacetOrBuilder
Use this field only if you want to merge a facet key into another facet key.
.google.cloud.retail.v2alpha.CatalogAttribute.FacetConfig.MergedFacet merged_facet = 4;- Specified by:
getMergedFacetOrBuilderin interfaceCatalogAttribute.FacetConfigOrBuilder
-
hasRerankConfig
public 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.v2alpha.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5;- Specified by:
hasRerankConfigin interfaceCatalogAttribute.FacetConfigOrBuilder- Returns:
- Whether the rerankConfig field is set.
-
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.v2alpha.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5;- Specified by:
getRerankConfigin interfaceCatalogAttribute.FacetConfigOrBuilder- Returns:
- The rerankConfig.
-
setRerankConfig
public 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.v2alpha.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5; -
setRerankConfig
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.v2alpha.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5; -
mergeRerankConfig
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.v2alpha.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5; -
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.v2alpha.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5; -
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.v2alpha.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5; -
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.v2alpha.CatalogAttribute.FacetConfig.RerankConfig rerank_config = 5;- Specified by:
getRerankConfigOrBuilderin interfaceCatalogAttribute.FacetConfigOrBuilder
-