public static interface FacetProperty.DateTimeBucketSpecOrBuilder extends MessageOrBuilderImplements
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. |