Interface FacetProperty.DateTimeBucketSpecOrBuilder (0.3.0)

public static interface FacetProperty.DateTimeBucketSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGranularity()

public abstract FacetProperty.DateTimeBucketSpec.Granularity getGranularity()

Granularity of date type facet.

.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.Granularity granularity = 1;

Returns
Type Description
FacetProperty.DateTimeBucketSpec.Granularity

The granularity.

getGranularityValue()

public abstract int getGranularityValue()

Granularity of date type facet.

.google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.Granularity granularity = 1;

Returns
Type Description
int

The enum numeric value on the wire for granularity.