Interface DocumentDimensionsOrBuilder (2.4.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
TypeDescription
float

The height.

getUnit()

public abstract DocumentDimensions.DocumentDimensionUnit getUnit()

Unit of the dimension.

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

Returns
TypeDescription
DocumentDimensions.DocumentDimensionUnit

The unit.

getUnitValue()

public abstract int getUnitValue()

Unit of the dimension.

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

Returns
TypeDescription
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
TypeDescription
float

The width.