Class Document.Page.Table

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.documentai.v1.Document.Page.Table
All Implemented Interfaces:
Document.Page.TableOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Document.Page

public static final class Document.Page.Table extends com.google.protobuf.GeneratedMessage implements Document.Page.TableOrBuilder
 A table representation similar to HTML table structure.
 
Protobuf type google.cloud.documentai.v1.Document.Page.Table
See Also:
  • Field Details

    • LAYOUT_FIELD_NUMBER

      public static final int LAYOUT_FIELD_NUMBER
      See Also:
    • HEADER_ROWS_FIELD_NUMBER

      public static final int HEADER_ROWS_FIELD_NUMBER
      See Also:
    • BODY_ROWS_FIELD_NUMBER

      public static final int BODY_ROWS_FIELD_NUMBER
      See Also:
    • DETECTED_LANGUAGES_FIELD_NUMBER

      public static final int DETECTED_LANGUAGES_FIELD_NUMBER
      See Also:
    • PROVENANCE_FIELD_NUMBER

      public static final int PROVENANCE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasLayout

      public boolean hasLayout()
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
       [Table][google.cloud.documentai.v1.Document.Page.Table].
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 1;
      Specified by:
      hasLayout in interface Document.Page.TableOrBuilder
      Returns:
      Whether the layout field is set.
    • getLayout

      public Document.Page.Layout getLayout()
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
       [Table][google.cloud.documentai.v1.Document.Page.Table].
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 1;
      Specified by:
      getLayout in interface Document.Page.TableOrBuilder
      Returns:
      The layout.
    • getLayoutOrBuilder

      public Document.Page.LayoutOrBuilder getLayoutOrBuilder()
       [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
       [Table][google.cloud.documentai.v1.Document.Page.Table].
       
      .google.cloud.documentai.v1.Document.Page.Layout layout = 1;
      Specified by:
      getLayoutOrBuilder in interface Document.Page.TableOrBuilder
    • getHeaderRowsList

      public List<Document.Page.Table.TableRow> getHeaderRowsList()
       Header rows of the table.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;
      Specified by:
      getHeaderRowsList in interface Document.Page.TableOrBuilder
    • getHeaderRowsOrBuilderList

      public List<? extends Document.Page.Table.TableRowOrBuilder> getHeaderRowsOrBuilderList()
       Header rows of the table.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;
      Specified by:
      getHeaderRowsOrBuilderList in interface Document.Page.TableOrBuilder
    • getHeaderRowsCount

      public int getHeaderRowsCount()
       Header rows of the table.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;
      Specified by:
      getHeaderRowsCount in interface Document.Page.TableOrBuilder
    • getHeaderRows

      public Document.Page.Table.TableRow getHeaderRows(int index)
       Header rows of the table.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;
      Specified by:
      getHeaderRows in interface Document.Page.TableOrBuilder
    • getHeaderRowsOrBuilder

      public Document.Page.Table.TableRowOrBuilder getHeaderRowsOrBuilder(int index)
       Header rows of the table.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;
      Specified by:
      getHeaderRowsOrBuilder in interface Document.Page.TableOrBuilder
    • getBodyRowsList

      public List<Document.Page.Table.TableRow> getBodyRowsList()
       Body rows of the table.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;
      Specified by:
      getBodyRowsList in interface Document.Page.TableOrBuilder
    • getBodyRowsOrBuilderList

      public List<? extends Document.Page.Table.TableRowOrBuilder> getBodyRowsOrBuilderList()
       Body rows of the table.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;
      Specified by:
      getBodyRowsOrBuilderList in interface Document.Page.TableOrBuilder
    • getBodyRowsCount

      public int getBodyRowsCount()
       Body rows of the table.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;
      Specified by:
      getBodyRowsCount in interface Document.Page.TableOrBuilder
    • getBodyRows

      public Document.Page.Table.TableRow getBodyRows(int index)
       Body rows of the table.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;
      Specified by:
      getBodyRows in interface Document.Page.TableOrBuilder
    • getBodyRowsOrBuilder

      public Document.Page.Table.TableRowOrBuilder getBodyRowsOrBuilder(int index)
       Body rows of the table.
       
      repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;
      Specified by:
      getBodyRowsOrBuilder in interface Document.Page.TableOrBuilder
    • getDetectedLanguagesList

      public List<Document.Page.DetectedLanguage> getDetectedLanguagesList()
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
      Specified by:
      getDetectedLanguagesList in interface Document.Page.TableOrBuilder
    • getDetectedLanguagesOrBuilderList

      public List<? extends Document.Page.DetectedLanguageOrBuilder> getDetectedLanguagesOrBuilderList()
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
      Specified by:
      getDetectedLanguagesOrBuilderList in interface Document.Page.TableOrBuilder
    • getDetectedLanguagesCount

      public int getDetectedLanguagesCount()
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
      Specified by:
      getDetectedLanguagesCount in interface Document.Page.TableOrBuilder
    • getDetectedLanguages

      public Document.Page.DetectedLanguage getDetectedLanguages(int index)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
      Specified by:
      getDetectedLanguages in interface Document.Page.TableOrBuilder
    • getDetectedLanguagesOrBuilder

      public Document.Page.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)
       A list of detected languages together with confidence.
       
      repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
      Specified by:
      getDetectedLanguagesOrBuilder in interface Document.Page.TableOrBuilder
    • hasProvenance

      @Deprecated public boolean hasProvenance()
      Deprecated.
      google.cloud.documentai.v1.Document.Page.Table.provenance is deprecated. See google/cloud/documentai/v1/document.proto;l=396
       The history of this table.
       
      .google.cloud.documentai.v1.Document.Provenance provenance = 5 [deprecated = true];
      Specified by:
      hasProvenance in interface Document.Page.TableOrBuilder
      Returns:
      Whether the provenance field is set.
    • getProvenance

      @Deprecated public Document.Provenance getProvenance()
      Deprecated.
      google.cloud.documentai.v1.Document.Page.Table.provenance is deprecated. See google/cloud/documentai/v1/document.proto;l=396
       The history of this table.
       
      .google.cloud.documentai.v1.Document.Provenance provenance = 5 [deprecated = true];
      Specified by:
      getProvenance in interface Document.Page.TableOrBuilder
      Returns:
      The provenance.
    • getProvenanceOrBuilder

      @Deprecated public Document.ProvenanceOrBuilder getProvenanceOrBuilder()
      Deprecated.
       The history of this table.
       
      .google.cloud.documentai.v1.Document.Provenance provenance = 5 [deprecated = true];
      Specified by:
      getProvenanceOrBuilder in interface Document.Page.TableOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Document.Page.Table parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page.Table parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page.Table parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page.Table parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page.Table parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page.Table parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Document.Page.Table parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Document.Page.Table parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Document.Page.Table parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Document.Page.Table parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Document.Page.Table parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Document.Page.Table parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Document.Page.Table.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Document.Page.Table.Builder newBuilder()
    • newBuilder

      public static Document.Page.Table.Builder newBuilder(Document.Page.Table prototype)
    • toBuilder

      public Document.Page.Table.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Document.Page.Table.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Document.Page.Table getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Document.Page.Table> parser()
    • getParserForType

      public com.google.protobuf.Parser<Document.Page.Table> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Document.Page.Table getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder