Enum FacetProperty.DateTimeBucketSpec.Granularity (0.1.0)

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

ProtocolMessageEnum

Static Fields

Name Description
DAY

Granularity is day.

DAY = 3;

DAY_VALUE

Granularity is day.

DAY = 3;

GRANULARITY_UNSPECIFIED

Unspecified granularity.

GRANULARITY_UNSPECIFIED = 0;

GRANULARITY_UNSPECIFIED_VALUE

Unspecified granularity.

GRANULARITY_UNSPECIFIED = 0;

MONTH

Granularity is month.

MONTH = 2;

MONTH_VALUE

Granularity is month.

MONTH = 2;

UNRECOGNIZED
YEAR

Granularity is year.

YEAR = 1;

YEAR_VALUE

Granularity is year.

YEAR = 1;

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()