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

public static final class Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder
Overrides