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.v1.Document.ChunkedDocument.Chunk.ChunkPageHeader
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 Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Document.ChunkedDocument.Chunk.ChunkPageHeader build()
public Document.ChunkedDocument.Chunk.ChunkPageHeader buildPartial()
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder clear()
Overrides
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder clearPageSpan()
Page span of the header.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder clearText()
Header in text format.
string text = 1;
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder clone()
Overrides
public Document.ChunkedDocument.Chunk.ChunkPageHeader getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Document.ChunkedDocument.Chunk.ChunkPageSpan getPageSpan()
Page span of the header.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;
public Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder getPageSpanBuilder()
Page span of the header.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;
public Document.ChunkedDocument.Chunk.ChunkPageSpanOrBuilder getPageSpanOrBuilder()
Page span of the header.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;
Header in text format.
string text = 1;
Returns |
Type |
Description |
String |
The text.
|
public ByteString getTextBytes()
Header in text format.
string text = 1;
Returns |
Type |
Description |
ByteString |
The bytes for text.
|
public boolean hasPageSpan()
Page span of the header.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;
Returns |
Type |
Description |
boolean |
Whether the pageSpan field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder mergeFrom(Document.ChunkedDocument.Chunk.ChunkPageHeader other)
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder mergePageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)
Page span of the header.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;
public final Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan value)
Page span of the header.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder setPageSpan(Document.ChunkedDocument.Chunk.ChunkPageSpan.Builder builderForValue)
Page span of the header.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageSpan page_span = 2;
public Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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.
|
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.
|
public final Document.ChunkedDocument.Chunk.ChunkPageHeader.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides