Package com.google.cloud.automl.v1beta1
Interface DocumentDimensionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DocumentDimensions,DocumentDimensions.Builder
public interface DocumentDimensionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetHeight()Height value of the document, works together with the unit.DocumentDimensions.DocumentDimensionUnitgetUnit()Unit of the dimension.intgetUnitValue()Unit of the dimension.floatgetWidth()Width value of the document, works together with the unit.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getUnitValue
int getUnitValue()
Unit of the dimension.
.google.cloud.automl.v1beta1.DocumentDimensions.DocumentDimensionUnit unit = 1;- Returns:
- The enum numeric value on the wire for unit.
-
getUnit
DocumentDimensions.DocumentDimensionUnit getUnit()
Unit of the dimension.
.google.cloud.automl.v1beta1.DocumentDimensions.DocumentDimensionUnit unit = 1;- Returns:
- The unit.
-
getWidth
float getWidth()
Width value of the document, works together with the unit.
float width = 2;- Returns:
- The width.
-
getHeight
float getHeight()
Height value of the document, works together with the unit.
float height = 3;- Returns:
- The height.
-
-