Class ProcessOptions.IndividualPageSelector (2.40.0)

public static final class ProcessOptions.IndividualPageSelector extends GeneratedMessageV3 implements ProcessOptions.IndividualPageSelectorOrBuilder

A list of individual page numbers.

Protobuf type google.cloud.documentai.v1.ProcessOptions.IndividualPageSelector

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ProcessOptions.IndividualPageSelector

Static Fields

PAGES_FIELD_NUMBER

public static final int PAGES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProcessOptions.IndividualPageSelector getDefaultInstance()
Returns
TypeDescription
ProcessOptions.IndividualPageSelector

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProcessOptions.IndividualPageSelector.Builder newBuilder()
Returns
TypeDescription
ProcessOptions.IndividualPageSelector.Builder

newBuilder(ProcessOptions.IndividualPageSelector prototype)

public static ProcessOptions.IndividualPageSelector.Builder newBuilder(ProcessOptions.IndividualPageSelector prototype)
Parameter
NameDescription
prototypeProcessOptions.IndividualPageSelector
Returns
TypeDescription
ProcessOptions.IndividualPageSelector.Builder

parseDelimitedFrom(InputStream input)

public static ProcessOptions.IndividualPageSelector parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProcessOptions.IndividualPageSelector
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessOptions.IndividualPageSelector parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessOptions.IndividualPageSelector
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProcessOptions.IndividualPageSelector parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProcessOptions.IndividualPageSelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProcessOptions.IndividualPageSelector parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessOptions.IndividualPageSelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProcessOptions.IndividualPageSelector parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProcessOptions.IndividualPageSelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProcessOptions.IndividualPageSelector parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessOptions.IndividualPageSelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProcessOptions.IndividualPageSelector parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProcessOptions.IndividualPageSelector
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessOptions.IndividualPageSelector parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessOptions.IndividualPageSelector
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProcessOptions.IndividualPageSelector parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProcessOptions.IndividualPageSelector
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProcessOptions.IndividualPageSelector parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessOptions.IndividualPageSelector
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProcessOptions.IndividualPageSelector parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProcessOptions.IndividualPageSelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProcessOptions.IndividualPageSelector parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProcessOptions.IndividualPageSelector
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProcessOptions.IndividualPageSelector> parser()
Returns
TypeDescription
Parser<IndividualPageSelector>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ProcessOptions.IndividualPageSelector getDefaultInstanceForType()
Returns
TypeDescription
ProcessOptions.IndividualPageSelector

getPages(int index)

public int getPages(int index)

Optional. Indices of the pages (starting from 1).

repeated int32 pages = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
int

The pages at the given index.

getPagesCount()

public int getPagesCount()

Optional. Indices of the pages (starting from 1).

repeated int32 pages = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of pages.

getPagesList()

public List<Integer> getPagesList()

Optional. Indices of the pages (starting from 1).

repeated int32 pages = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<Integer>

A list containing the pages.

getParserForType()

public Parser<ProcessOptions.IndividualPageSelector> getParserForType()
Returns
TypeDescription
Parser<IndividualPageSelector>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProcessOptions.IndividualPageSelector.Builder newBuilderForType()
Returns
TypeDescription
ProcessOptions.IndividualPageSelector.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProcessOptions.IndividualPageSelector.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProcessOptions.IndividualPageSelector.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProcessOptions.IndividualPageSelector.Builder toBuilder()
Returns
TypeDescription
ProcessOptions.IndividualPageSelector.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException