Class Document.ChunkedDocument.Chunk.ChunkField.Builder (2.66.0)

public static final class Document.ChunkedDocument.Chunk.ChunkField.Builder extends GeneratedMessageV3.Builder<Document.ChunkedDocument.Chunk.ChunkField.Builder> implements Document.ChunkedDocument.Chunk.ChunkFieldOrBuilder

The chunk field in the chunk. A chunk field could be one of the various types (e.g. image, table) supported.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFieldType()

public Document.ChunkedDocument.Chunk.ChunkField.Builder clearFieldType()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkField.Builder

clearImageChunkField()

public Document.ChunkedDocument.Chunk.ChunkField.Builder clearImageChunkField()

The image chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ImageChunkField image_chunk_field = 1;

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTableChunkField()

public Document.ChunkedDocument.Chunk.ChunkField.Builder clearTableChunkField()

The table chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.TableChunkField table_chunk_field = 2;

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getFieldTypeCase()

public Document.ChunkedDocument.Chunk.ChunkField.FieldTypeCase getFieldTypeCase()
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkField.FieldTypeCase

getImageChunkField()

public Document.ChunkedDocument.Chunk.ImageChunkField getImageChunkField()

The image chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ImageChunkField image_chunk_field = 1;

Returns
Type Description
Document.ChunkedDocument.Chunk.ImageChunkField

The imageChunkField.

getImageChunkFieldBuilder()

public Document.ChunkedDocument.Chunk.ImageChunkField.Builder getImageChunkFieldBuilder()

The image chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ImageChunkField image_chunk_field = 1;

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

getImageChunkFieldOrBuilder()

public Document.ChunkedDocument.Chunk.ImageChunkFieldOrBuilder getImageChunkFieldOrBuilder()

The image chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ImageChunkField image_chunk_field = 1;

Returns
Type Description
Document.ChunkedDocument.Chunk.ImageChunkFieldOrBuilder

getTableChunkField()

public Document.ChunkedDocument.Chunk.TableChunkField getTableChunkField()

The table chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.TableChunkField table_chunk_field = 2;

Returns
Type Description
Document.ChunkedDocument.Chunk.TableChunkField

The tableChunkField.

getTableChunkFieldBuilder()

public Document.ChunkedDocument.Chunk.TableChunkField.Builder getTableChunkFieldBuilder()

The table chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.TableChunkField table_chunk_field = 2;

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

getTableChunkFieldOrBuilder()

public Document.ChunkedDocument.Chunk.TableChunkFieldOrBuilder getTableChunkFieldOrBuilder()

The table chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.TableChunkField table_chunk_field = 2;

Returns
Type Description
Document.ChunkedDocument.Chunk.TableChunkFieldOrBuilder

hasImageChunkField()

public boolean hasImageChunkField()

The image chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ImageChunkField image_chunk_field = 1;

Returns
Type Description
boolean

Whether the imageChunkField field is set.

hasTableChunkField()

public boolean hasTableChunkField()

The table chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.TableChunkField table_chunk_field = 2;

Returns
Type Description
boolean

Whether the tableChunkField 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.ChunkField other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeImageChunkField(Document.ChunkedDocument.Chunk.ImageChunkField value)

public Document.ChunkedDocument.Chunk.ChunkField.Builder mergeImageChunkField(Document.ChunkedDocument.Chunk.ImageChunkField value)

The image chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ImageChunkField image_chunk_field = 1;

Parameter
Name Description
value Document.ChunkedDocument.Chunk.ImageChunkField
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkField.Builder

mergeTableChunkField(Document.ChunkedDocument.Chunk.TableChunkField value)

public Document.ChunkedDocument.Chunk.ChunkField.Builder mergeTableChunkField(Document.ChunkedDocument.Chunk.TableChunkField value)

The table chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.TableChunkField table_chunk_field = 2;

Parameter
Name Description
value Document.ChunkedDocument.Chunk.TableChunkField
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkField.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setImageChunkField(Document.ChunkedDocument.Chunk.ImageChunkField value)

public Document.ChunkedDocument.Chunk.ChunkField.Builder setImageChunkField(Document.ChunkedDocument.Chunk.ImageChunkField value)

The image chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ImageChunkField image_chunk_field = 1;

Parameter
Name Description
value Document.ChunkedDocument.Chunk.ImageChunkField
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkField.Builder

setImageChunkField(Document.ChunkedDocument.Chunk.ImageChunkField.Builder builderForValue)

public Document.ChunkedDocument.Chunk.ChunkField.Builder setImageChunkField(Document.ChunkedDocument.Chunk.ImageChunkField.Builder builderForValue)

The image chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ImageChunkField image_chunk_field = 1;

Parameter
Name Description
builderForValue Document.ChunkedDocument.Chunk.ImageChunkField.Builder
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkField.Builder

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

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

setTableChunkField(Document.ChunkedDocument.Chunk.TableChunkField value)

public Document.ChunkedDocument.Chunk.ChunkField.Builder setTableChunkField(Document.ChunkedDocument.Chunk.TableChunkField value)

The table chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.TableChunkField table_chunk_field = 2;

Parameter
Name Description
value Document.ChunkedDocument.Chunk.TableChunkField
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkField.Builder

setTableChunkField(Document.ChunkedDocument.Chunk.TableChunkField.Builder builderForValue)

public Document.ChunkedDocument.Chunk.ChunkField.Builder setTableChunkField(Document.ChunkedDocument.Chunk.TableChunkField.Builder builderForValue)

The table chunk field in the chunk.

.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.TableChunkField table_chunk_field = 2;

Parameter
Name Description
builderForValue Document.ChunkedDocument.Chunk.TableChunkField.Builder
Returns
Type Description
Document.ChunkedDocument.Chunk.ChunkField.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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