Package com.google.cloud.documentai.v1
Class Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder>
com.google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
- All Implemented Interfaces:
Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCellOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell
public static final class Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder>
implements Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCellOrBuilder
Represents a cell in a table row.Protobuf type
google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell-
Method Summary
Modifier and TypeMethodDescriptionaddAllBlocks(Iterable<? extends Document.DocumentLayout.DocumentLayoutBlock> values) A table cell is a list of blocks.addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value) A table cell is a list of blocks.addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue) A table cell is a list of blocks.A table cell is a list of blocks.addBlocks(Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue) A table cell is a list of blocks.A table cell is a list of blocks.addBlocksBuilder(int index) A table cell is a list of blocks.build()clear()A table cell is a list of blocks.How many columns this cell spans.How many rows this cell spans.getBlocks(int index) A table cell is a list of blocks.getBlocksBuilder(int index) A table cell is a list of blocks.A table cell is a list of blocks.intA table cell is a list of blocks.A table cell is a list of blocks.getBlocksOrBuilder(int index) A table cell is a list of blocks.A table cell is a list of blocks.intHow many columns this cell spans.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintHow many rows this cell spans.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeBlocks(int index) A table cell is a list of blocks.setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value) A table cell is a list of blocks.setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue) A table cell is a list of blocks.setColSpan(int value) How many columns this cell spans.setRowSpan(int value) How many rows this cell spans.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder>
-
mergeFrom
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder>- Throws:
IOException
-
getBlocksList
A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;- Specified by:
getBlocksListin interfaceDocument.DocumentLayout.DocumentLayoutBlock.LayoutTableCellOrBuilder
-
getBlocksCount
public int getBlocksCount()A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;- Specified by:
getBlocksCountin interfaceDocument.DocumentLayout.DocumentLayoutBlock.LayoutTableCellOrBuilder
-
getBlocks
A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;- Specified by:
getBlocksin interfaceDocument.DocumentLayout.DocumentLayoutBlock.LayoutTableCellOrBuilder
-
setBlocks
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value) A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
setBlocks
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder setBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue) A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
addBlocks
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder addBlocks(Document.DocumentLayout.DocumentLayoutBlock value) A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
addBlocks
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock value) A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
addBlocks
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder addBlocks(Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue) A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
addBlocks
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder addBlocks(int index, Document.DocumentLayout.DocumentLayoutBlock.Builder builderForValue) A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
addAllBlocks
public Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell.Builder addAllBlocks(Iterable<? extends Document.DocumentLayout.DocumentLayoutBlock> values) A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
clearBlocks
A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
removeBlocks
A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
getBlocksBuilder
A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
getBlocksOrBuilder
A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;- Specified by:
getBlocksOrBuilderin interfaceDocument.DocumentLayout.DocumentLayoutBlock.LayoutTableCellOrBuilder
-
getBlocksOrBuilderList
public List<? extends Document.DocumentLayout.DocumentLayoutBlockOrBuilder> getBlocksOrBuilderList()A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1;- Specified by:
getBlocksOrBuilderListin interfaceDocument.DocumentLayout.DocumentLayoutBlock.LayoutTableCellOrBuilder
-
addBlocksBuilder
A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
addBlocksBuilder
A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
getBlocksBuilderList
A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.
repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; -
getRowSpan
public int getRowSpan()How many rows this cell spans.
int32 row_span = 2;- Specified by:
getRowSpanin interfaceDocument.DocumentLayout.DocumentLayoutBlock.LayoutTableCellOrBuilder- Returns:
- The rowSpan.
-
setRowSpan
How many rows this cell spans.
int32 row_span = 2;- Parameters:
value- The rowSpan to set.- Returns:
- This builder for chaining.
-
clearRowSpan
How many rows this cell spans.
int32 row_span = 2;- Returns:
- This builder for chaining.
-
getColSpan
public int getColSpan()How many columns this cell spans.
int32 col_span = 3;- Specified by:
getColSpanin interfaceDocument.DocumentLayout.DocumentLayoutBlock.LayoutTableCellOrBuilder- Returns:
- The colSpan.
-
setColSpan
How many columns this cell spans.
int32 col_span = 3;- Parameters:
value- The colSpan to set.- Returns:
- This builder for chaining.
-
clearColSpan
How many columns this cell spans.
int32 col_span = 3;- Returns:
- This builder for chaining.
-