- 3.52.0 (latest)
- 3.51.0
- 3.50.0
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.3
- 2.1.4
- 2.0.29
public static final class Page.Builder extends GeneratedMessageV3.Builder<Page.Builder> implements PageOrBuilder
Detected page from OCR.
Protobuf type google.cloud.vision.v1p3beta1.Page
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Page.BuilderImplements
PageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllBlocks(Iterable<? extends Block> values)
public Page.Builder addAllBlocks(Iterable<? extends Block> values)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p3beta1.Block> |
Type | Description |
Page.Builder |
addBlocks(Block value)
public Page.Builder addBlocks(Block value)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Name | Description |
value | Block |
Type | Description |
Page.Builder |
addBlocks(Block.Builder builderForValue)
public Page.Builder addBlocks(Block.Builder builderForValue)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Name | Description |
builderForValue | Block.Builder |
Type | Description |
Page.Builder |
addBlocks(int index, Block value)
public Page.Builder addBlocks(int index, Block value)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Name | Description |
index | int |
value | Block |
Type | Description |
Page.Builder |
addBlocks(int index, Block.Builder builderForValue)
public Page.Builder addBlocks(int index, Block.Builder builderForValue)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Name | Description |
index | int |
builderForValue | Block.Builder |
Type | Description |
Page.Builder |
addBlocksBuilder()
public Block.Builder addBlocksBuilder()
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Type | Description |
Block.Builder |
addBlocksBuilder(int index)
public Block.Builder addBlocksBuilder(int index)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Name | Description |
index | int |
Type | Description |
Block.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Page.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Page.Builder |
build()
public Page build()
Type | Description |
Page |
buildPartial()
public Page buildPartial()
Type | Description |
Page |
clear()
public Page.Builder clear()
Type | Description |
Page.Builder |
clearBlocks()
public Page.Builder clearBlocks()
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Type | Description |
Page.Builder |
clearConfidence()
public Page.Builder clearConfidence()
Confidence of the OCR results on the page. Range [0, 1].
float confidence = 5;
Type | Description |
Page.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Page.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Page.Builder |
clearHeight()
public Page.Builder clearHeight()
Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
int32 height = 3;
Type | Description |
Page.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Page.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Page.Builder |
clearProperty()
public Page.Builder clearProperty()
Additional information detected on the page.
.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty property = 1;
Type | Description |
Page.Builder |
clearWidth()
public Page.Builder clearWidth()
Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
int32 width = 2;
Type | Description |
Page.Builder | This builder for chaining. |
clone()
public Page.Builder clone()
Type | Description |
Page.Builder |
getBlocks(int index)
public Block getBlocks(int index)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Name | Description |
index | int |
Type | Description |
Block |
getBlocksBuilder(int index)
public Block.Builder getBlocksBuilder(int index)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Name | Description |
index | int |
Type | Description |
Block.Builder |
getBlocksBuilderList()
public List<Block.Builder> getBlocksBuilderList()
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Type | Description |
List<Builder> |
getBlocksCount()
public int getBlocksCount()
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Type | Description |
int |
getBlocksList()
public List<Block> getBlocksList()
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Type | Description |
List<Block> |
getBlocksOrBuilder(int index)
public BlockOrBuilder getBlocksOrBuilder(int index)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Name | Description |
index | int |
Type | Description |
BlockOrBuilder |
getBlocksOrBuilderList()
public List<? extends BlockOrBuilder> getBlocksOrBuilderList()
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Type | Description |
List<? extends com.google.cloud.vision.v1p3beta1.BlockOrBuilder> |
getConfidence()
public float getConfidence()
Confidence of the OCR results on the page. Range [0, 1].
float confidence = 5;
Type | Description |
float | The confidence. |
getDefaultInstanceForType()
public Page getDefaultInstanceForType()
Type | Description |
Page |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getHeight()
public int getHeight()
Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
int32 height = 3;
Type | Description |
int | The height. |
getProperty()
public TextAnnotation.TextProperty getProperty()
Additional information detected on the page.
.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty property = 1;
Type | Description |
TextAnnotation.TextProperty | The property. |
getPropertyBuilder()
public TextAnnotation.TextProperty.Builder getPropertyBuilder()
Additional information detected on the page.
.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty property = 1;
Type | Description |
TextAnnotation.TextProperty.Builder |
getPropertyOrBuilder()
public TextAnnotation.TextPropertyOrBuilder getPropertyOrBuilder()
Additional information detected on the page.
.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty property = 1;
Type | Description |
TextAnnotation.TextPropertyOrBuilder |
getWidth()
public int getWidth()
Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
int32 width = 2;
Type | Description |
int | The width. |
hasProperty()
public boolean hasProperty()
Additional information detected on the page.
.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty property = 1;
Type | Description |
boolean | Whether the property field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Page other)
public Page.Builder mergeFrom(Page other)
Name | Description |
other | Page |
Type | Description |
Page.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Page.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Page.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Page.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Page.Builder |
mergeProperty(TextAnnotation.TextProperty value)
public Page.Builder mergeProperty(TextAnnotation.TextProperty value)
Additional information detected on the page.
.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty property = 1;
Name | Description |
value | TextAnnotation.TextProperty |
Type | Description |
Page.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Page.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Page.Builder |
removeBlocks(int index)
public Page.Builder removeBlocks(int index)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Name | Description |
index | int |
Type | Description |
Page.Builder |
setBlocks(int index, Block value)
public Page.Builder setBlocks(int index, Block value)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Name | Description |
index | int |
value | Block |
Type | Description |
Page.Builder |
setBlocks(int index, Block.Builder builderForValue)
public Page.Builder setBlocks(int index, Block.Builder builderForValue)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p3beta1.Block blocks = 4;
Name | Description |
index | int |
builderForValue | Block.Builder |
Type | Description |
Page.Builder |
setConfidence(float value)
public Page.Builder setConfidence(float value)
Confidence of the OCR results on the page. Range [0, 1].
float confidence = 5;
Name | Description |
value | float The confidence to set. |
Type | Description |
Page.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Page.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Page.Builder |
setHeight(int value)
public Page.Builder setHeight(int value)
Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
int32 height = 3;
Name | Description |
value | int The height to set. |
Type | Description |
Page.Builder | This builder for chaining. |
setProperty(TextAnnotation.TextProperty value)
public Page.Builder setProperty(TextAnnotation.TextProperty value)
Additional information detected on the page.
.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty property = 1;
Name | Description |
value | TextAnnotation.TextProperty |
Type | Description |
Page.Builder |
setProperty(TextAnnotation.TextProperty.Builder builderForValue)
public Page.Builder setProperty(TextAnnotation.TextProperty.Builder builderForValue)
Additional information detected on the page.
.google.cloud.vision.v1p3beta1.TextAnnotation.TextProperty property = 1;
Name | Description |
builderForValue | TextAnnotation.TextProperty.Builder |
Type | Description |
Page.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Page.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Page.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Page.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Page.Builder |
setWidth(int value)
public Page.Builder setWidth(int value)
Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
int32 width = 2;
Name | Description |
value | int The width to set. |
Type | Description |
Page.Builder | This builder for chaining. |