public static final class Document.ChunkedDocument.Chunk.ChunkField extends GeneratedMessage implements Document.ChunkedDocument.Chunk.ChunkFieldOrBuilderThe chunk field in the chunk. A chunk field could be one of the various types (for example, image, table) supported.
Protobuf type google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkField
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Document.ChunkedDocument.Chunk.ChunkFieldStatic Fields
IMAGE_CHUNK_FIELD_FIELD_NUMBER
public static final int IMAGE_CHUNK_FIELD_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TABLE_CHUNK_FIELD_FIELD_NUMBER
public static final int TABLE_CHUNK_FIELD_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Document.ChunkedDocument.Chunk.ChunkField getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Document.ChunkedDocument.Chunk.ChunkField.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField.Builder |
|
newBuilder(Document.ChunkedDocument.Chunk.ChunkField prototype)
public static Document.ChunkedDocument.Chunk.ChunkField.Builder newBuilder(Document.ChunkedDocument.Chunk.ChunkField prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Document.ChunkedDocument.Chunk.ChunkField |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField.Builder |
|
parseDelimitedFrom(InputStream input)
public static Document.ChunkedDocument.Chunk.ChunkField parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Document.ChunkedDocument.Chunk.ChunkField parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Document.ChunkedDocument.Chunk.ChunkField parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Document.ChunkedDocument.Chunk.ChunkField parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Document.ChunkedDocument.Chunk.ChunkField parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Document.ChunkedDocument.Chunk.ChunkField parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Document.ChunkedDocument.Chunk.ChunkField parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Document.ChunkedDocument.Chunk.ChunkField parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Document.ChunkedDocument.Chunk.ChunkField parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Document.ChunkedDocument.Chunk.ChunkField parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Document.ChunkedDocument.Chunk.ChunkField parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Document.ChunkedDocument.Chunk.ChunkField parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Document.ChunkedDocument.Chunk.ChunkField> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ChunkField> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Document.ChunkedDocument.Chunk.ChunkField getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField |
|
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.v1.Document.ChunkedDocument.Chunk.ImageChunkField image_chunk_field = 1;
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ImageChunkField |
The imageChunkField. |
getImageChunkFieldOrBuilder()
public Document.ChunkedDocument.Chunk.ImageChunkFieldOrBuilder getImageChunkFieldOrBuilder()The image chunk field in the chunk.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ImageChunkField image_chunk_field = 1;
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ImageChunkFieldOrBuilder |
|
getParserForType()
public Parser<Document.ChunkedDocument.Chunk.ChunkField> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ChunkField> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTableChunkField()
public Document.ChunkedDocument.Chunk.TableChunkField getTableChunkField()The table chunk field in the chunk.
.google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.TableChunkField table_chunk_field = 2;
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.TableChunkField |
The tableChunkField. |
getTableChunkFieldOrBuilder()
public Document.ChunkedDocument.Chunk.TableChunkFieldOrBuilder getTableChunkFieldOrBuilder()The table chunk field in the chunk.
.google.cloud.documentai.v1.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.v1.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.v1.Document.ChunkedDocument.Chunk.TableChunkField table_chunk_field = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tableChunkField field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Document.ChunkedDocument.Chunk.ChunkField.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Document.ChunkedDocument.Chunk.ChunkField.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField.Builder |
|
toBuilder()
public Document.ChunkedDocument.Chunk.ChunkField.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Document.ChunkedDocument.Chunk.ChunkField.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|