public enum Block.BlockType extends Enum<Block.BlockType> implements ProtocolMessageEnum
Type of a block (text, image etc) as identified by OCR.
Protobuf enum google.cloud.vision.v1p4beta1.Block.BlockType
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
BARCODE |
Barcode block. |
BARCODE_VALUE |
Barcode block. |
PICTURE |
Image block. |
PICTURE_VALUE |
Image block. |
RULER |
Horizontal/vertical line box. |
RULER_VALUE |
Horizontal/vertical line box. |
TABLE |
Table block. |
TABLE_VALUE |
Table block. |
TEXT |
Regular text block. |
TEXT_VALUE |
Regular text block. |
UNKNOWN |
Unknown block type. |
UNKNOWN_VALUE |
Unknown block type. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |