public enum FacetProperty.DateTimeBucketSpec.Granularity extends Enum<FacetProperty.DateTimeBucketSpec.Granularity> implements ProtocolMessageEnum
Granularity enum for the datetime bucket.
Protobuf enum google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.Granularity
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
DAY |
Granularity is day. |
DAY_VALUE |
Granularity is day. |
GRANULARITY_UNSPECIFIED |
Unspecified granularity. |
GRANULARITY_UNSPECIFIED_VALUE |
Unspecified granularity. |
MONTH |
Granularity is month. |
MONTH_VALUE |
Granularity is month. |
UNRECOGNIZED |
|
YEAR |
Granularity is year. |
YEAR_VALUE |
Granularity is year. |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |