public static final class Document.Page.Table extends GeneratedMessageV3 implements Document.Page.TableOrBuilder
A table representation similar to HTML table structure.
Protobuf type google.cloud.documentai.v1.Document.Page.Table
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
BODY_ROWS_FIELD_NUMBER
public static final int BODY_ROWS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DETECTED_LANGUAGES_FIELD_NUMBER
public static final int DETECTED_LANGUAGES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int HEADER_ROWS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LAYOUT_FIELD_NUMBER
public static final int LAYOUT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PROVENANCE_FIELD_NUMBER
public static final int PROVENANCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Document.Page.Table getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Document.Page.Table.Builder newBuilder()
newBuilder(Document.Page.Table prototype)
public static Document.Page.Table.Builder newBuilder(Document.Page.Table prototype)
parseDelimitedFrom(InputStream input)
public static Document.Page.Table parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Document.Page.Table parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Document.Page.Table parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Document.Page.Table parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Document.Page.Table parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Document.Page.Table parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Document.Page.Table parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Document.Page.Table parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Document.Page.Table parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Document.Page.Table parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Document.Page.Table parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Document.Page.Table parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Document.Page.Table> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBodyRows(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getBodyRowsCount()
public int getBodyRowsCount()
Body rows of the table.
repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3;
Returns |
---|
Type | Description |
int | |
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;
getBodyRowsOrBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
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;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.documentai.v1.Document.Page.Table.TableRowOrBuilder> | |
getDefaultInstanceForType()
public Document.Page.Table getDefaultInstanceForType()
getDetectedLanguages(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getDetectedLanguagesCount()
public int getDetectedLanguagesCount()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4;
Returns |
---|
Type | Description |
int | |
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;
getDetectedLanguagesOrBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
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;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.documentai.v1.Document.Page.DetectedLanguageOrBuilder> | |
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;
Parameter |
---|
Name | Description |
index | int
|
public int getHeaderRowsCount()
Header rows of the table.
repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;
Returns |
---|
Type | Description |
int | |
public List<Document.Page.Table.TableRow> getHeaderRowsList()
Header rows of the table.
repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2;
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;
Parameter |
---|
Name | Description |
index | int
|
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;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.documentai.v1.Document.Page.Table.TableRowOrBuilder> | |
getLayout()
public Document.Page.Layout getLayout()
Layout for
Table.
.google.cloud.documentai.v1.Document.Page.Layout layout = 1;
getLayoutOrBuilder()
public Document.Page.LayoutOrBuilder getLayoutOrBuilder()
Layout for
Table.
.google.cloud.documentai.v1.Document.Page.Layout layout = 1;
getParserForType()
public Parser<Document.Page.Table> getParserForType()
Overrides
getProvenance()
public Document.Provenance getProvenance()
The history of this table.
.google.cloud.documentai.v1.Document.Provenance provenance = 5;
getProvenanceOrBuilder()
public Document.ProvenanceOrBuilder getProvenanceOrBuilder()
The history of this table.
.google.cloud.documentai.v1.Document.Provenance provenance = 5;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasLayout()
public boolean hasLayout()
Layout for
Table.
.google.cloud.documentai.v1.Document.Page.Layout layout = 1;
Returns |
---|
Type | Description |
boolean | Whether the layout field is set.
|
hasProvenance()
public boolean hasProvenance()
The history of this table.
.google.cloud.documentai.v1.Document.Provenance provenance = 5;
Returns |
---|
Type | Description |
boolean | Whether the provenance field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Document.Page.Table.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Document.Page.Table.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Document.Page.Table.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides