Interface DocumentDimensionsOrBuilder (2.55.0)

public interface DocumentDimensionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeight()

public abstract float getHeight()

Height value of the document, works together with the unit.

float height = 3;

Returns
Type Description
float

The height.

getUnit()

public abstract DocumentDimensions.DocumentDimensionUnit getUnit()

Unit of the dimension.

.google.cloud.automl.v1.DocumentDimensions.DocumentDimensionUnit unit = 1;

Returns
Type Description
DocumentDimensions.DocumentDimensionUnit

The unit.

getUnitValue()

public abstract int getUnitValue()

Unit of the dimension.

.google.cloud.automl.v1.DocumentDimensions.DocumentDimensionUnit unit = 1;

Returns
Type Description
int

The enum numeric value on the wire for unit.

getWidth()

public abstract float getWidth()

Width value of the document, works together with the unit.

float width = 2;

Returns
Type Description
float

The width.