public static interface FacetProperty.DateTimeBucketSpecOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |