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.v1beta1.Document.Page.Table
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v1beta1.Document.Page.Table.TableRow body_rows = 3;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.documentai.v1beta1.Document.Page.Table.TableRow>
|
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.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage>
|
public Document.Page.Table.Builder addAllHeaderRows(Iterable<? extends Document.Page.Table.TableRow> values)
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.documentai.v1beta1.Document.Page.Table.TableRow>
|
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.v1beta1.Document.Page.Table.TableRow body_rows = 3;
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.v1beta1.Document.Page.Table.TableRow body_rows = 3;
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.v1beta1.Document.Page.Table.TableRow body_rows = 3;
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.v1beta1.Document.Page.Table.TableRow body_rows = 3;
addBodyRowsBuilder()
public Document.Page.Table.TableRow.Builder addBodyRowsBuilder()
Body rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow body_rows = 3;
addBodyRowsBuilder(int index)
public Document.Page.Table.TableRow.Builder addBodyRowsBuilder(int index)
Body rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow body_rows = 3;
Parameter |
Name |
Description |
index |
int
|
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.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
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.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
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.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
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.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
addDetectedLanguagesBuilder()
public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
addDetectedLanguagesBuilder(int index)
public Document.Page.DetectedLanguage.Builder addDetectedLanguagesBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
Parameter |
Name |
Description |
index |
int
|
public Document.Page.Table.Builder addHeaderRows(Document.Page.Table.TableRow value)
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
public Document.Page.Table.Builder addHeaderRows(Document.Page.Table.TableRow.Builder builderForValue)
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
public Document.Page.Table.Builder addHeaderRows(int index, Document.Page.Table.TableRow value)
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
public Document.Page.Table.Builder addHeaderRows(int index, Document.Page.Table.TableRow.Builder builderForValue)
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
public Document.Page.Table.TableRow.Builder addHeaderRowsBuilder()
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
public Document.Page.Table.TableRow.Builder addHeaderRowsBuilder(int index)
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.Table.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Document.Page.Table build()
buildPartial()
public Document.Page.Table buildPartial()
clear()
public Document.Page.Table.Builder clear()
Overrides
clearBodyRows()
public Document.Page.Table.Builder clearBodyRows()
Body rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow body_rows = 3;
clearDetectedLanguages()
public Document.Page.Table.Builder clearDetectedLanguages()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
clearField(Descriptors.FieldDescriptor field)
public Document.Page.Table.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Document.Page.Table.Builder clearHeaderRows()
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
clearLayout()
public Document.Page.Table.Builder clearLayout()
Layout for
Table.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.Page.Table.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Document.Page.Table.Builder clone()
Overrides
getBodyRows(int index)
public Document.Page.Table.TableRow getBodyRows(int index)
Body rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow body_rows = 3;
Parameter |
Name |
Description |
index |
int
|
getBodyRowsBuilder(int index)
public Document.Page.Table.TableRow.Builder getBodyRowsBuilder(int index)
Body rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow body_rows = 3;
Parameter |
Name |
Description |
index |
int
|
getBodyRowsBuilderList()
public List<Document.Page.Table.TableRow.Builder> getBodyRowsBuilderList()
Body rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow body_rows = 3;
getBodyRowsCount()
public int getBodyRowsCount()
Body rows of the table.
repeated .google.cloud.documentai.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.Document.Page.Table.TableRow body_rows = 3;
Returns |
Type |
Description |
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.Table.TableRowOrBuilder> |
|
getDefaultInstanceForType()
public Document.Page.Table getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDetectedLanguages(int index)
public Document.Page.DetectedLanguage getDetectedLanguages(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
Parameter |
Name |
Description |
index |
int
|
getDetectedLanguagesBuilder(int index)
public Document.Page.DetectedLanguage.Builder getDetectedLanguagesBuilder(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
Parameter |
Name |
Description |
index |
int
|
getDetectedLanguagesBuilderList()
public List<Document.Page.DetectedLanguage.Builder> getDetectedLanguagesBuilderList()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
getDetectedLanguagesCount()
public int getDetectedLanguagesCount()
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
Returns |
Type |
Description |
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.DetectedLanguageOrBuilder> |
|
public Document.Page.Table.TableRow getHeaderRows(int index)
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
Parameter |
Name |
Description |
index |
int
|
public Document.Page.Table.TableRow.Builder getHeaderRowsBuilder(int index)
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
Parameter |
Name |
Description |
index |
int
|
public List<Document.Page.Table.TableRow.Builder> getHeaderRowsBuilderList()
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
public int getHeaderRowsCount()
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.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.v1beta1.Document.Page.Table.TableRow header_rows = 2;
public Document.Page.Table.TableRowOrBuilder getHeaderRowsOrBuilder(int index)
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.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.v1beta1.Document.Page.Table.TableRow header_rows = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.Table.TableRowOrBuilder> |
|
getLayout()
public Document.Page.Layout getLayout()
Layout for
Table.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
getLayoutBuilder()
public Document.Page.Layout.Builder getLayoutBuilder()
Layout for
Table.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
getLayoutOrBuilder()
public Document.Page.LayoutOrBuilder getLayoutOrBuilder()
Layout for
Table.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
hasLayout()
public boolean hasLayout()
Layout for
Table.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
Returns |
Type |
Description |
boolean |
Whether the layout field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Document.Page.Table other)
public Document.Page.Table.Builder mergeFrom(Document.Page.Table other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.Page.Table.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Document.Page.Table.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeLayout(Document.Page.Layout value)
public Document.Page.Table.Builder mergeLayout(Document.Page.Layout value)
Layout for
Table.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.Table.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeBodyRows(int index)
public Document.Page.Table.Builder removeBodyRows(int index)
Body rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow body_rows = 3;
Parameter |
Name |
Description |
index |
int
|
removeDetectedLanguages(int index)
public Document.Page.Table.Builder removeDetectedLanguages(int index)
A list of detected languages together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
Parameter |
Name |
Description |
index |
int
|
public Document.Page.Table.Builder removeHeaderRows(int index)
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
Parameter |
Name |
Description |
index |
int
|
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.v1beta1.Document.Page.Table.TableRow body_rows = 3;
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.v1beta1.Document.Page.Table.TableRow body_rows = 3;
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.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
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.v1beta1.Document.Page.DetectedLanguage detected_languages = 4;
setField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.Table.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Document.Page.Table.Builder setHeaderRows(int index, Document.Page.Table.TableRow value)
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
public Document.Page.Table.Builder setHeaderRows(int index, Document.Page.Table.TableRow.Builder builderForValue)
Header rows of the table.
repeated .google.cloud.documentai.v1beta1.Document.Page.Table.TableRow header_rows = 2;
setLayout(Document.Page.Layout value)
public Document.Page.Table.Builder setLayout(Document.Page.Layout value)
Layout for
Table.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
setLayout(Document.Page.Layout.Builder builderForValue)
public Document.Page.Table.Builder setLayout(Document.Page.Layout.Builder builderForValue)
Layout for
Table.
.google.cloud.documentai.v1beta1.Document.Page.Layout layout = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.Page.Table.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.Table.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides