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

public static final class Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder extends GeneratedMessage.Builder<Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder> implements Document.ChunkedDocument.Chunk.ChunkPageFooterOrBuilder

Represents the page footer associated with the chunk.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearPageSpan()

public Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder clearPageSpan()

Page span of the footer.

.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

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

clearText()

public Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder clearText()

Footer in text format.

string text = 1;

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

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getPageSpan()

public Document.ChunkedDocument.Chunk.ChunkPageSpan getPageSpan()

Page span of the footer.

.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan

The pageSpan.

getPageSpanBuilder()

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

Page span of the footer.

.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

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

getPageSpanOrBuilder()

public Document.ChunkedDocument.Chunk.ChunkPageSpanOrBuilder getPageSpanOrBuilder()

Page span of the footer.

.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpanOrBuilder

getText()

public String getText()

Footer in text format.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public ByteString getTextBytes()

Footer in text format.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

hasPageSpan()

public boolean hasPageSpan()

Page span of the footer.

.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Returns
Type Description
boolean

Whether the pageSpan field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Document.ChunkedDocument.Chunk.ChunkPageFooter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)

public Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder mergePageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)

Page span of the footer.

.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Parameter
Name Description
value Document.ChunkedDocument.Chunk.ChunkPageSpan
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder

setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)

public Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)

Page span of the footer.

.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Parameter
Name Description
value Document.ChunkedDocument.Chunk.ChunkPageSpan
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder

setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder builderForValue)

public Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder builderForValue)

Page span of the footer.

.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Parameter
Name Description
builderForValue Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder

setText(String value)

public Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder setText(String value)

Footer in text format.

string text = 1;

Parameter
Name Description
value String

The text to set.

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

This builder for chaining.

setTextBytes(ByteString value)

public Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder setTextBytes(ByteString value)

Footer in text format.

string text = 1;

Parameter
Name Description
value ByteString

The bytes for text to set.

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

This builder for chaining.