Class Document.ChunkedDocument.Chunk.ChunkPageFooter (2.49.0)

public static final class Document.ChunkedDocument.Chunk.ChunkPageFooter extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Document.ChunkedDocument.Chunk.ChunkPageFooter

Static Fields

PAGE_SPAN_FIELD_NUMBER

public static final int PAGE_SPAN_FIELD_NUMBER
Field Value
Type Description
int

TEXT_FIELD_NUMBER

public static final int TEXT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Document.ChunkedDocument.Chunk.ChunkPageFooter getDefaultInstance()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter

getDescriptor()

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

newBuilder()

public static Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder newBuilder()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder

newBuilder(Document.ChunkedDocument.Chunk.ChunkPageFooter prototype)

public static Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder newBuilder(Document.ChunkedDocument.Chunk.ChunkPageFooter prototype)
Parameter
Name Description
prototype Document.ChunkedDocument.Chunk.ChunkPageFooter
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder

parseDelimitedFrom(InputStream input)

public static Document.ChunkedDocument.Chunk.ChunkPageFooter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Document.ChunkedDocument.Chunk.ChunkPageFooter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Document.ChunkedDocument.Chunk.ChunkPageFooter parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Document.ChunkedDocument.Chunk.ChunkPageFooter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Document.ChunkedDocument.Chunk.ChunkPageFooter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Document.ChunkedDocument.Chunk.ChunkPageFooter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Document.ChunkedDocument.Chunk.ChunkPageFooter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Document.ChunkedDocument.Chunk.ChunkPageFooter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Document.ChunkedDocument.Chunk.ChunkPageFooter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Document.ChunkedDocument.Chunk.ChunkPageFooter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Document.ChunkedDocument.Chunk.ChunkPageFooter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Document.ChunkedDocument.Chunk.ChunkPageFooter> parser()
Returns
Type Description
Parser<ChunkPageFooter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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

getParserForType()

public Parser<Document.ChunkedDocument.Chunk.ChunkPageFooter> getParserForType()
Returns
Type Description
Parser<ChunkPageFooter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageFooter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException