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
      float getHeight()
      Height value of the document, works together with the unit.
      DocumentDimensions.DocumentDimensionUnit getUnit()
      Unit of the dimension.
      int getUnitValue()
      Unit of the dimension.
      float getWidth()
      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 Detail

      • 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.
      • 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.