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

    Modifier and Type
    Method
    Description
    float
    Height value of the document, works together with the unit.
    Unit of the dimension.
    int
    Unit of the dimension.
    float
    Width value of the document, works together with the unit.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       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.