Class Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder (2.87.0)

public static final class Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder extends GeneratedMessage.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder> implements Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpanOrBuilder

Represents where the block starts and ends in the document.

Protobuf type google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan build()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan

buildPartial()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan buildPartial()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan

clear()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder clear()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder
Overrides

clearPageEnd()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder clearPageEnd()

Page where block ends in the document.

int32 page_end = 2;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder

This builder for chaining.

clearPageStart()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder clearPageStart()

Page where block starts in the document.

int32 page_start = 1;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder

This builder for chaining.

getDefaultInstanceForType()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan getDefaultInstanceForType()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageEnd()

public int getPageEnd()

Page where block ends in the document.

int32 page_end = 2;

Returns
Type Description
int

The pageEnd.

getPageStart()

public int getPageStart()

Page where block starts in the document.

int32 page_start = 1;

Returns
Type Description
int

The pageStart.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan other)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder mergeFrom(Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan other)
Parameter
Name Description
other Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder
Overrides

setPageEnd(int value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder setPageEnd(int value)

Page where block ends in the document.

int32 page_end = 2;

Parameter
Name Description
value int

The pageEnd to set.

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder

This builder for chaining.

setPageStart(int value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder setPageStart(int value)

Page where block starts in the document.

int32 page_start = 1;

Parameter
Name Description
value int

The pageStart to set.

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder

This builder for chaining.