public static final class Document.Page.Table.Builder extends GeneratedMessageV3.Builder<Document.Page.Table.Builder> implements Document.Page.TableOrBuilder
A table representation similar to HTML table structure.
Protobuf type google.cloud.documentai.v1beta3.Document.Page.Table
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllBodyRows(Iterable<? extends Document.Page.Table.TableRow> values)
public Document.Page.Table.Builder addAllBodyRows(Iterable<? extends Document.Page.Table.TableRow> values)
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.Document.Page.Table.TableRow>
|
Returns
addAllDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values)
public Document.Page.Table.Builder addAllDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage>
|
Returns
public Document.Page.Table.Builder addAllHeaderRows(Iterable<? extends Document.Page.Table.TableRow> values)
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.Document.Page.Table.TableRow>
|
Returns
addBodyRows(Document.Page.Table.TableRow value)
public Document.Page.Table.Builder addBodyRows(Document.Page.Table.TableRow value)
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Parameter
Returns
addBodyRows(Document.Page.Table.TableRow.Builder builderForValue)
public Document.Page.Table.Builder addBodyRows(Document.Page.Table.TableRow.Builder builderForValue)
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Parameter
Returns
addBodyRows(int index, Document.Page.Table.TableRow value)
public Document.Page.Table.Builder addBodyRows(int index, Document.Page.Table.TableRow value)
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Parameters
Returns
addBodyRows(int index, Document.Page.Table.TableRow.Builder builderForValue)
public Document.Page.Table.Builder addBodyRows(int index, Document.Page.Table.TableRow.Builder builderForValue)
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Parameters
Returns
addBodyRowsBuilder()
public Document.Page.Table.TableRow.Builder addBodyRowsBuilder()
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Returns
addBodyRowsBuilder(int index)
public Document.Page.Table.TableRow.Builder addBodyRowsBuilder(int index)
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Parameter
Returns
addDetectedLanguages(Document.Page.DetectedLanguage value)
public Document.Page.Table.Builder addDetectedLanguages(Document.Page.DetectedLanguage value)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Parameter
Returns
addDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)
public Document.Page.Table.Builder addDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Parameter
Returns
addDetectedLanguages(int index, Document.Page.DetectedLanguage value)
public Document.Page.Table.Builder addDetectedLanguages(int index, Document.Page.DetectedLanguage value)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Parameters
Returns
addDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
public Document.Page.Table.Builder addDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Parameters
Returns
addDetectedLanguagesBuilder()
public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Returns
addDetectedLanguagesBuilder(int index)
public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Parameter
Returns
public Document.Page.Table.Builder addHeaderRows(Document.Page.Table.TableRow value)
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Parameter
Returns
public Document.Page.Table.Builder addHeaderRows(Document.Page.Table.TableRow.Builder builderForValue)
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Parameter
Returns
public Document.Page.Table.Builder addHeaderRows(int index, Document.Page.Table.TableRow value)
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Parameters
Returns
public Document.Page.Table.Builder addHeaderRows(int index, Document.Page.Table.TableRow.Builder builderForValue)
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Parameters
Returns
public Document.Page.Table.TableRow.Builder addHeaderRowsBuilder()
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Returns
public Document.Page.Table.TableRow.Builder addHeaderRowsBuilder(int index)
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.Table.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Document.Page.Table build()
Returns
buildPartial()
public Document.Page.Table buildPartial()
Returns
clear()
public Document.Page.Table.Builder clear()
Returns
Overrides
clearBodyRows()
public Document.Page.Table.Builder clearBodyRows()
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Returns
clearDetectedLanguages()
public Document.Page.Table.Builder clearDetectedLanguages()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Returns
clearField(Descriptors.FieldDescriptor field)
public Document.Page.Table.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Document.Page.Table.Builder clearHeaderRows()
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Returns
clearLayout()
public Document.Page.Table.Builder clearLayout()
Layout for
Table.
.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.Page.Table.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Document.Page.Table.Builder clone()
Returns
Overrides
getBodyRows(int index)
public Document.Page.Table.TableRow getBodyRows(int index)
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Parameter
Returns
getBodyRowsBuilder(int index)
public Document.Page.Table.TableRow.Builder getBodyRowsBuilder(int index)
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Parameter
Returns
getBodyRowsBuilderList()
public List<Document.Page.Table.TableRow.Builder> getBodyRowsBuilderList()
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Returns
getBodyRowsCount()
public int getBodyRowsCount()
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Returns
getBodyRowsList()
public List<Document.Page.Table.TableRow> getBodyRowsList()
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Returns
getBodyRowsOrBuilder(int index)
public Document.Page.Table.TableRowOrBuilder getBodyRowsOrBuilder(int index)
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Parameter
Returns
getBodyRowsOrBuilderList()
public List<? extends Document.Page.Table.TableRowOrBuilder> getBodyRowsOrBuilderList()
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Returns
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.Page.Table.TableRowOrBuilder> | |
getDefaultInstanceForType()
public Document.Page.Table getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDetectedLanguages(int index)
public Document.Page.DetectedLanguage getDetectedLanguages(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Parameter
Returns
getDetectedLanguagesBuilder(int index)
public Document.Page.DetectedLanguage.Builder getDetectedLanguagesBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Parameter
Returns
getDetectedLanguagesBuilderList()
public List<Document.Page.DetectedLanguage.Builder> getDetectedLanguagesBuilderList()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Returns
getDetectedLanguagesCount()
public int getDetectedLanguagesCount()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Returns
getDetectedLanguagesList()
public List<Document.Page.DetectedLanguage> getDetectedLanguagesList()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Returns
getDetectedLanguagesOrBuilder(int index)
public Document.Page.DetectedLanguageOrBuilder getDetectedLanguagesOrBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Parameter
Returns
getDetectedLanguagesOrBuilderList()
public List<? extends Document.Page.DetectedLanguageOrBuilder> getDetectedLanguagesOrBuilderList()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Returns
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguageOrBuilder> | |
public Document.Page.Table.TableRow getHeaderRows(int index)
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Parameter
Returns
public Document.Page.Table.TableRow.Builder getHeaderRowsBuilder(int index)
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Parameter
Returns
public List<Document.Page.Table.TableRow.Builder> getHeaderRowsBuilderList()
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Returns
public int getHeaderRowsCount()
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Returns
public List<Document.Page.Table.TableRow> getHeaderRowsList()
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Returns
public Document.Page.Table.TableRowOrBuilder getHeaderRowsOrBuilder(int index)
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Parameter
Returns
public List<? extends Document.Page.Table.TableRowOrBuilder> getHeaderRowsOrBuilderList()
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Returns
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.Page.Table.TableRowOrBuilder> | |
getLayout()
public Document.Page.Layout getLayout()
Layout for
Table.
.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 1;
Returns
getLayoutBuilder()
public Document.Page.Layout.Builder getLayoutBuilder()
Layout for
Table.
.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 1;
Returns
getLayoutOrBuilder()
public Document.Page.LayoutOrBuilder getLayoutOrBuilder()
Layout for
Table.
.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 1;
Returns
hasLayout()
public boolean hasLayout()
Layout for
Table.
.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 1;
Returns
Type | Description |
boolean | Whether the layout field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Document.Page.Table other)
public Document.Page.Table.Builder mergeFrom(Document.Page.Table other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.Page.Table.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Document.Page.Table.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeLayout(Document.Page.Layout value)
public Document.Page.Table.Builder mergeLayout(Document.Page.Layout value)
Layout for
Table.
.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.Table.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeBodyRows(int index)
public Document.Page.Table.Builder removeBodyRows(int index)
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Parameter
Returns
removeDetectedLanguages(int index)
public Document.Page.Table.Builder removeDetectedLanguages(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Parameter
Returns
public Document.Page.Table.Builder removeHeaderRows(int index)
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Parameter
Returns
setBodyRows(int index, Document.Page.Table.TableRow value)
public Document.Page.Table.Builder setBodyRows(int index, Document.Page.Table.TableRow value)
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Parameters
Returns
setBodyRows(int index, Document.Page.Table.TableRow.Builder builderForValue)
public Document.Page.Table.Builder setBodyRows(int index, Document.Page.Table.TableRow.Builder builderForValue)
Body rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow body_rows = 3;
Parameters
Returns
setDetectedLanguages(int index, Document.Page.DetectedLanguage value)
public Document.Page.Table.Builder setDetectedLanguages(int index, Document.Page.DetectedLanguage value)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Parameters
Returns
setDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
public Document.Page.Table.Builder setDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage detected_languages = 4;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.Table.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Document.Page.Table.Builder setHeaderRows(int index, Document.Page.Table.TableRow value)
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Parameters
Returns
public Document.Page.Table.Builder setHeaderRows(int index, Document.Page.Table.TableRow.Builder builderForValue)
Header rows of the table.
repeated .google.cloud.documentai.v1beta3.Document.Page.Table.TableRow header_rows = 2;
Parameters
Returns
setLayout(Document.Page.Layout value)
public Document.Page.Table.Builder setLayout(Document.Page.Layout value)
Layout for
Table.
.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 1;
Parameter
Returns
setLayout(Document.Page.Layout.Builder builderForValue)
public Document.Page.Table.Builder setLayout(Document.Page.Layout.Builder builderForValue)
Layout for
Table.
.google.cloud.documentai.v1beta3.Document.Page.Layout layout = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.Page.Table.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.Table.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides