Package com.google.cloud.documentai.v1
Interface Document.Page.DimensionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document.Page.Dimension,Document.Page.Dimension.Builder
- Enclosing class:
- Document.Page
public static interface Document.Page.DimensionOrBuilder
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
-
getWidth
float getWidth()Page width.
float width = 1;- Returns:
- The width.
-
getHeight
float getHeight()Page height.
float height = 2;- Returns:
- The height.
-
getUnit
String getUnit()Dimension unit.
string unit = 3;- Returns:
- The unit.
-
getUnitBytes
com.google.protobuf.ByteString getUnitBytes()Dimension unit.
string unit = 3;- Returns:
- The bytes for unit.
-