Class Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder (2.62.0)

public static final class Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder extends GeneratedMessageV3.Builder<Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder> implements Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpanOrBuilder

Represents where the block starts and ends in the document.

Protobuf type google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder
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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan build()

buildPartial()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan buildPartial()

clear()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clearPageEnd()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder clearPageEnd()

Page where block ends in the document.

int32 page_end = 2;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder

This builder for chaining.

clearPageStart()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder clearPageStart()

Page where block starts in the document.

int32 page_start = 1;

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder

This builder for chaining.

clone()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder clone()
Overrides

getDefaultInstanceForType()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan getDefaultInstanceForType()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageEnd()

public int getPageEnd()

Page where block ends in the document.

int32 page_end = 2;

Returns
Type Description
int

The pageEnd.

getPageStart()

public int getPageStart()

Page where block starts in the document.

int32 page_start = 1;

Returns
Type Description
int

The pageStart.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan other)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder mergeFrom(Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan other)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

setPageEnd(int value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder setPageEnd(int value)

Page where block ends in the document.

int32 page_end = 2;

Parameter
Name Description
value int

The pageEnd to set.

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder

This builder for chaining.

setPageStart(int value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder setPageStart(int value)

Page where block starts in the document.

int32 page_start = 1;

Parameter
Name Description
value int

The pageStart to set.

Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides