Class Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder (2.55.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

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
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder
Overrides

build()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan build()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan

buildPartial()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan buildPartial()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan

clear()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder clear()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder
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()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder
Overrides

getDefaultInstanceForType()

public Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan getDefaultInstanceForType()
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan

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)
Parameter
Name Description
other Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder
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
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder
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
Returns
Type Description
Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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