Class Page.Builder (2.1.4)

public static final class Page.Builder extends GeneratedMessageV3.Builder<Page.Builder> implements PageOrBuilder

Detected page from OCR.

Protobuf type google.cloud.vision.v1.Page

Implements

PageOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.Block blocks = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1.Block>
Returns
TypeDescription
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.v1.Block blocks = 4;

Parameter
NameDescription
valueBlock
Returns
TypeDescription
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.v1.Block blocks = 4;

Parameter
NameDescription
builderForValueBlock.Builder
Returns
TypeDescription
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.v1.Block blocks = 4;

Parameters
NameDescription
indexint
valueBlock
Returns
TypeDescription
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.v1.Block blocks = 4;

Parameters
NameDescription
indexint
builderForValueBlock.Builder
Returns
TypeDescription
Page.Builder

addBlocksBuilder()

public Block.Builder addBlocksBuilder()

List of blocks of text, images etc on this page.

repeated .google.cloud.vision.v1.Block blocks = 4;

Returns
TypeDescription