Class FacetProperty.CustomRangeBucketSpec

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.FacetProperty.CustomRangeBucketSpec
All Implemented Interfaces:
FacetProperty.CustomRangeBucketSpecOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
FacetProperty

public static final class FacetProperty.CustomRangeBucketSpec extends com.google.protobuf.GeneratedMessage implements FacetProperty.CustomRangeBucketSpecOrBuilder
 If bucket type is CUSTOM_RANGE, specify how values are bucketized. Use
 integer bucket value as an example, when the endpoints are 0, 10, 100, and
 1000, we will generate the following facets:
 [-inf, 0), [0, 10), [10, 100), [100, 1000), [1000, inf).
 Notably:
 - endpoints must be listed in ascending order. Otherwise, the SearchConfig
 API will reject the facet config.
 - < 1 endpoints is an invalid spec.
 
Protobuf type google.cloud.visionai.v1.FacetProperty.CustomRangeBucketSpec
See Also: