public static final class ProcessOptions.IndividualPageSelector.Builder extends GeneratedMessageV3.Builder<ProcessOptions.IndividualPageSelector.Builder> implements ProcessOptions.IndividualPageSelectorOrBuilder
A list of individual page numbers.
Protobuf type google.cloud.documentai.v1.ProcessOptions.IndividualPageSelector
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllPages(Iterable<? extends Integer> values)
public ProcessOptions.IndividualPageSelector.Builder addAllPages(Iterable<? extends Integer> values)
Optional. Indices of the pages (starting from 1).
repeated int32 pages = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
values | Iterable<? extends java.lang.Integer>
The pages to add.
|
addPages(int value)
public ProcessOptions.IndividualPageSelector.Builder addPages(int value)
Optional. Indices of the pages (starting from 1).
repeated int32 pages = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | int
The pages to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessOptions.IndividualPageSelector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ProcessOptions.IndividualPageSelector build()
buildPartial()
public ProcessOptions.IndividualPageSelector buildPartial()
clear()
public ProcessOptions.IndividualPageSelector.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProcessOptions.IndividualPageSelector.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessOptions.IndividualPageSelector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPages()
public ProcessOptions.IndividualPageSelector.Builder clearPages()
Optional. Indices of the pages (starting from 1).
repeated int32 pages = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public ProcessOptions.IndividualPageSelector.Builder clone()
Overrides
getDefaultInstanceForType()
public ProcessOptions.IndividualPageSelector getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
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 |
---|
Type | Description |
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 |
---|
Type | Description |
List<Integer> | A list containing the pages.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ProcessOptions.IndividualPageSelector other)
public ProcessOptions.IndividualPageSelector.Builder mergeFrom(ProcessOptions.IndividualPageSelector other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProcessOptions.IndividualPageSelector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ProcessOptions.IndividualPageSelector.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessOptions.IndividualPageSelector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessOptions.IndividualPageSelector.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPages(int index, int value)
public ProcessOptions.IndividualPageSelector.Builder setPages(int index, int value)
Optional. Indices of the pages (starting from 1).
repeated int32 pages = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters |
---|
Name | Description |
index | int
The index to set the value at.
|
value | int
The pages to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessOptions.IndividualPageSelector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessOptions.IndividualPageSelector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides