Interface FacetProperty.FixedRangeBucketSpecOrBuilder (0.4.0)

public static interface FacetProperty.FixedRangeBucketSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucketCount()

public abstract int getBucketCount()

Total number of buckets.

int32 bucket_count = 3;

Returns
Type Description
int

The bucketCount.

getBucketGranularity()

public abstract FacetValue getBucketGranularity()

Bucket granularity. NOTE: Only integer type is currently supported for this field.

.google.cloud.visionai.v1.FacetValue bucket_granularity = 2;

Returns
Type Description
FacetValue

The bucketGranularity.

getBucketGranularityOrBuilder()

public abstract FacetValueOrBuilder getBucketGranularityOrBuilder()

Bucket granularity. NOTE: Only integer type is currently supported for this field.

.google.cloud.visionai.v1.FacetValue bucket_granularity = 2;

Returns
Type Description
FacetValueOrBuilder

getBucketStart()

public abstract FacetValue getBucketStart()

Lower bound of the bucket. NOTE: Only integer type is currently supported for this field.

.google.cloud.visionai.v1.FacetValue bucket_start = 1;

Returns
Type Description
FacetValue

The bucketStart.

getBucketStartOrBuilder()

public abstract FacetValueOrBuilder getBucketStartOrBuilder()

Lower bound of the bucket. NOTE: Only integer type is currently supported for this field.

.google.cloud.visionai.v1.FacetValue bucket_start = 1;

Returns
Type Description
FacetValueOrBuilder

hasBucketGranularity()

public abstract boolean hasBucketGranularity()

Bucket granularity. NOTE: Only integer type is currently supported for this field.

.google.cloud.visionai.v1.FacetValue bucket_granularity = 2;

Returns
Type Description
boolean

Whether the bucketGranularity field is set.

hasBucketStart()

public abstract boolean hasBucketStart()

Lower bound of the bucket. NOTE: Only integer type is currently supported for this field.

.google.cloud.visionai.v1.FacetValue bucket_start = 1;

Returns
Type Description
boolean

Whether the bucketStart field is set.