public static final class Document.ChunkedDocument.Chunk.ChunkPageSpan extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PAGE_END_FIELD_NUMBER
public static final int PAGE_END_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PAGE_START_FIELD_NUMBER
public static final int PAGE_START_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Document.ChunkedDocument.Chunk.ChunkPageSpan getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder newBuilder()
newBuilder(Document.ChunkedDocument.Chunk.ChunkPageSpan prototype)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder newBuilder(Document.ChunkedDocument.Chunk.ChunkPageSpan prototype)
parseDelimitedFrom(InputStream input)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Document.ChunkedDocument.Chunk.ChunkPageSpan parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Document.ChunkedDocument.Chunk.ChunkPageSpan> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Document.ChunkedDocument.Chunk.ChunkPageSpan getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<Document.ChunkedDocument.Chunk.ChunkPageSpan> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides