Interface TableBoundHintOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    TableBoundHint, TableBoundHint.Builder

    public interface TableBoundHintOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      BoundingPoly getBoundingBox()
      Bounding box hint for a table on this page.
      BoundingPolyOrBuilder getBoundingBoxOrBuilder()
      Bounding box hint for a table on this page.
      int getPageNumber()
      Optional.
      boolean hasBoundingBox()
      Bounding box hint for a table on this page.
      • 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

      • getPageNumber

        int getPageNumber()
         Optional. Page number for multi-paged inputs this hint applies to. If not
         provided, this hint will apply to all pages by default. This value is
         1-based.
         
        int32 page_number = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The pageNumber.
      • hasBoundingBox

        boolean hasBoundingBox()
         Bounding box hint for a table on this page. The coordinates must be
         normalized to [0,1] and the bounding box must be an axis-aligned rectangle.
         
        .google.cloud.documentai.v1beta2.BoundingPoly bounding_box = 2;
        Returns:
        Whether the boundingBox field is set.
      • getBoundingBox

        BoundingPoly getBoundingBox()
         Bounding box hint for a table on this page. The coordinates must be
         normalized to [0,1] and the bounding box must be an axis-aligned rectangle.
         
        .google.cloud.documentai.v1beta2.BoundingPoly bounding_box = 2;
        Returns:
        The boundingBox.
      • getBoundingBoxOrBuilder

        BoundingPolyOrBuilder getBoundingBoxOrBuilder()
         Bounding box hint for a table on this page. The coordinates must be
         normalized to [0,1] and the bounding box must be an axis-aligned rectangle.
         
        .google.cloud.documentai.v1beta2.BoundingPoly bounding_box = 2;