Class Block.Builder

public static final class Block.Builder extends GeneratedMessageV3.Builder<Block.Builder> implements BlockOrBuilder

Logical element on the page.

Protobuf type google.cloud.vision.v1p3beta1.Block

Implements

BlockOrBuilder

Methods

addAllParagraphs(Iterable<? extends Paragraph> values)

public Block.Builder addAllParagraphs(Iterable<? extends Paragraph> values)

List of paragraphs in this block (if this blocks is of type text).

repeated .google.cloud.vision.v1p3beta1.Paragraph paragraphs = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p3beta1.Paragraph>
Returns
TypeDescription
Block.Builder

addParagraphs(Paragraph value)

public Block.Builder addParagraphs(Paragraph value)

List of paragraphs in this block (if this blocks is of type text).

repeated .google.cloud.vision.v1p3beta1.Paragraph paragraphs = 3;

Parameter
NameDescription
valueParagraph
Returns
TypeDescription
Block.Builder