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

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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