public final class DocumentPageRange extends GeneratedMessageV3 implements DocumentPageRangeOrBuilder
Range of pages present in a document.
Protobuf type google.cloud.documentai.v1beta3.DocumentPageRange
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DocumentPageRangeImplements
DocumentPageRangeOrBuilderStatic Fields
END_FIELD_NUMBER
public static final int END_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DocumentPageRange getDefaultInstance()
Returns | |
---|---|
Type | Description |
DocumentPageRange |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static DocumentPageRange.Builder newBuilder()
Returns | |
---|---|
Type | Description |
DocumentPageRange.Builder |
newBuilder(DocumentPageRange prototype)
public static DocumentPageRange.Builder newBuilder(DocumentPageRange prototype)
Parameter | |
---|---|
Name | Description |
prototype | DocumentPageRange |
Returns | |
---|---|
Type | Description |
DocumentPageRange.Builder |
parseDelimitedFrom(InputStream input)
public static DocumentPageRange parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
DocumentPageRange |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DocumentPageRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentPageRange |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static DocumentPageRange parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
DocumentPageRange |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DocumentPageRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentPageRange |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DocumentPageRange parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
DocumentPageRange |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DocumentPageRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentPageRange |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DocumentPageRange parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
DocumentPageRange |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DocumentPageRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentPageRange |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static DocumentPageRange parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
DocumentPageRange |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DocumentPageRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentPageRange |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DocumentPageRange parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
DocumentPageRange |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DocumentPageRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DocumentPageRange |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DocumentPageRange> parser()
Returns | |
---|---|
Type | Description |
Parser<DocumentPageRange> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public DocumentPageRange getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DocumentPageRange |
getEnd()
public int getEnd()
Last page number (one-based index) to be returned.
int32 end = 2;
Returns | |
---|---|
Type | Description |
int | The end. |
getParserForType()
public Parser<DocumentPageRange> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<DocumentPageRange> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getStart()
public int getStart()
First page number (one-based index) to be returned.
int32 start = 1;
Returns | |
---|---|
Type | Description |
int | The start. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public DocumentPageRange.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
DocumentPageRange.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DocumentPageRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
DocumentPageRange.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public DocumentPageRange.Builder toBuilder()
Returns | |
---|---|
Type | Description |
DocumentPageRange.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |