Class Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder (2.48.0)

public static final class Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder extends GeneratedMessageV3.Builder<Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder> implements Document.ChunkedDocument.Chunk.ChunkPageHeaderOrBuilder

Represents the page header associated with the chunk.

Protobuf type google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder
Overrides

build()

public Document.ChunkedDocument.Chunk.ChunkPageHeader build()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader

buildPartial()

public Document.ChunkedDocument.Chunk.ChunkPageHeader buildPartial()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader

clear()

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder clear()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder
Overrides

clearPageSpan()

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder clearPageSpan()

Page span of the header.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder

clearText()

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder clearText()

Header in text format.

string text = 1;

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder

This builder for chaining.

clone()

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder clone()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder
Overrides

getDefaultInstanceForType()

public Document.ChunkedDocument.Chunk.ChunkPageHeader getDefaultInstanceForType()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader

getDescriptorForType()

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

getPageSpan()

public Document.ChunkedDocument.Chunk.ChunkPageSpan getPageSpan()

Page span of the header.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan

The pageSpan.

getPageSpanBuilder()

public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder getPageSpanBuilder()

Page span of the header.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder

getPageSpanOrBuilder()

public Document.ChunkedDocument.Chunk.ChunkPageSpanOrBuilder getPageSpanOrBuilder()

Page span of the header.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageSpanOrBuilder

getText()

public String getText()

Header in text format.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public ByteString getTextBytes()

Header in text format.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

hasPageSpan()

public boolean hasPageSpan()

Page span of the header.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Returns
Type Description
boolean

Whether the pageSpan field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Document.ChunkedDocument.Chunk.ChunkPageHeader other)

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder mergeFrom(Document.ChunkedDocument.Chunk.ChunkPageHeader other)
Parameter
Name Description
other Document.ChunkedDocument.Chunk.ChunkPageHeader
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder
Overrides

mergePageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder mergePageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)

Page span of the header.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Parameter
Name Description
value Document.ChunkedDocument.Chunk.ChunkPageSpan
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder
Overrides

setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)

Page span of the header.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Parameter
Name Description
value Document.ChunkedDocument.Chunk.ChunkPageSpan
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder

setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder builderForValue)

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder builderForValue)

Page span of the header.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;

Parameter
Name Description
builderForValue Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder

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

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder
Overrides

setText(String value)

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder setText(String value)

Header in text format.

string text = 1;

Parameter
Name Description
value String

The text to set.

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder

This builder for chaining.

setTextBytes(ByteString value)

public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder setTextBytes(ByteString value)

Header in text format.

string text = 1;

Parameter
Name Description
value ByteString

The bytes for text to set.

Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder
Overrides