Enum DocumentDimensions.DocumentDimensionUnit (2.10.0)

public enum DocumentDimensions.DocumentDimensionUnit extends Enum<DocumentDimensions.DocumentDimensionUnit> implements ProtocolMessageEnum

Unit of the document dimension.

Protobuf enum google.cloud.automl.v1.DocumentDimensions.DocumentDimensionUnit

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CENTIMETER

Document dimension is measured in centimeters.

CENTIMETER = 2;

CENTIMETER_VALUE

Document dimension is measured in centimeters.

CENTIMETER = 2;

DOCUMENT_DIMENSION_UNIT_UNSPECIFIED

Should not be used.

DOCUMENT_DIMENSION_UNIT_UNSPECIFIED = 0;

DOCUMENT_DIMENSION_UNIT_UNSPECIFIED_VALUE

Should not be used.

DOCUMENT_DIMENSION_UNIT_UNSPECIFIED = 0;

INCH

Document dimension is measured in inches.

INCH = 1;

INCH_VALUE

Document dimension is measured in inches.

INCH = 1;

POINT

Document dimension is measured in points. 72 points = 1 inch.

POINT = 3;

POINT_VALUE

Document dimension is measured in points. 72 points = 1 inch.

POINT = 3;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()