public static final class DocumentPageRange.Builder extends GeneratedMessageV3.Builder<DocumentPageRange.Builder> implements DocumentPageRangeOrBuilder
Range of pages present in a document.
Protobuf type google.cloud.documentai.v1beta3.DocumentPageRange
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public DocumentPageRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DocumentPageRange build()
public DocumentPageRange buildPartial()
public DocumentPageRange.Builder clear()
Overrides
public DocumentPageRange.Builder clearEnd()
Last page number (one-based index) to be returned.
int32 end = 2;
public DocumentPageRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public DocumentPageRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public DocumentPageRange.Builder clearStart()
First page number (one-based index) to be returned.
int32 start = 1;
public DocumentPageRange.Builder clone()
Overrides
public DocumentPageRange getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
Last page number (one-based index) to be returned.
int32 end = 2;
Returns |
Type |
Description |
int |
The end.
|
First page number (one-based index) to be returned.
int32 start = 1;
Returns |
Type |
Description |
int |
The start.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public DocumentPageRange.Builder mergeFrom(DocumentPageRange other)
public DocumentPageRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public DocumentPageRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final DocumentPageRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public DocumentPageRange.Builder setEnd(int value)
Last page number (one-based index) to be returned.
int32 end = 2;
Parameter |
Name |
Description |
value |
int
The end to set.
|
public DocumentPageRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DocumentPageRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public DocumentPageRange.Builder setStart(int value)
First page number (one-based index) to be returned.
int32 start = 1;
Parameter |
Name |
Description |
value |
int
The start to set.
|
public final DocumentPageRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides