Package com.google.cloud.automl.v1
Interface DocumentDimensionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DocumentDimensions,DocumentDimensions.Builder
@Generated
public interface DocumentDimensionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUnitValue
int getUnitValue()Unit of the dimension.
.google.cloud.automl.v1.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.v1.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.
-