Class Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder (2.87.0)

public static final class Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder extends GeneratedMessage.Builder<Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder> implements Document.ChunkedDocument.Chunk.ChunkPageSpanOrBuilder

Represents where the chunk starts and ends in the document.

Protobuf type google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan

Static Methods

getDescriptor()

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

Methods

build()

public Document.ChunkedDocument.Chunk.ChunkPageSpan build()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan

buildPartial()

public Document.ChunkedDocument.Chunk.ChunkPageSpan buildPartial()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan

clear()

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder clear()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder
Overrides

clearPageEnd()

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder clearPageEnd()

Page where chunk ends in the document.

int32 page_end = 2;

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder

This builder for chaining.

clearPageStart()

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder clearPageStart()

Page where chunk starts in the document.

int32 page_start = 1;

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder

This builder for chaining.

getDefaultInstanceForType()

public Document.ChunkedDocument.Chunk.ChunkPageSpan getDefaultInstanceForType()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan

getDescriptorForType()

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

getPageEnd()

public int getPageEnd()

Page where chunk ends in the document.

int32 page_end = 2;

Returns
Type Description
int

The pageEnd.

getPageStart()

public int getPageStart()

Page where chunk 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.ChunkedDocument.Chunk.ChunkPageSpan other)

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder mergeFrom(Document.ChunkedDocument.Chunk.ChunkPageSpan other)
Parameter
Name Description
other Document.ChunkedDocument.Chunk.ChunkPageSpan
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder
Overrides

setPageEnd(int value)

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder setPageEnd(int value)

Page where chunk ends in the document.

int32 page_end = 2;

Parameter
Name Description
value int

The pageEnd to set.

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder

This builder for chaining.

setPageStart(int value)

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder setPageStart(int value)

Page where chunk starts in the document.

int32 page_start = 1;

Parameter
Name Description
value int

The pageStart to set.

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder

This builder for chaining.