- 2.58.0 (latest)
- 2.57.0
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public static final class Document.Builder extends GeneratedMessageV3.Builder<Document.Builder> implements DocumentOrBuilder
Document represents the canonical document resource in Document Understanding AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document Understanding AI to iterate and optimize for quality.
Protobuf type google.cloud.documentai.v1beta3.Document
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Document.BuilderImplements
DocumentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllEntities(Iterable<? extends Document.Entity> values)
public Document.Builder addAllEntities(Iterable<? extends Document.Entity> values)
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.Document.Entity> |
Type | Description |
Document.Builder |
addAllEntityRelations(Iterable<? extends Document.EntityRelation> values)
public Document.Builder addAllEntityRelations(Iterable<? extends Document.EntityRelation> values)
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.Document.EntityRelation> |
Type | Description |
Document.Builder |
addAllPages(Iterable<? extends Document.Page> values)
public Document.Builder addAllPages(Iterable<? extends Document.Page> values)
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.Document.Page> |
Type | Description |
Document.Builder |
addAllRevisions(Iterable<? extends Document.Revision> values)
public Document.Builder addAllRevisions(Iterable<? extends Document.Revision> values)
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.Document.Revision> |
Type | Description |
Document.Builder |
addAllTextChanges(Iterable<? extends Document.TextChange> values)
public Document.Builder addAllTextChanges(Iterable<? extends Document.TextChange> values)
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.Document.TextChange> |
Type | Description |
Document.Builder |
addAllTextStyles(Iterable<? extends Document.Style> values)
public Document.Builder addAllTextStyles(Iterable<? extends Document.Style> values)
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.Document.Style> |
Type | Description |
Document.Builder |
addEntities(Document.Entity value)
public Document.Builder addEntities(Document.Entity value)
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Name | Description |
value | Document.Entity |
Type | Description |
Document.Builder |
addEntities(Document.Entity.Builder builderForValue)
public Document.Builder addEntities(Document.Entity.Builder builderForValue)
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Name | Description |
builderForValue | Document.Entity.Builder |
Type | Description |
Document.Builder |
addEntities(int index, Document.Entity value)
public Document.Builder addEntities(int index, Document.Entity value)
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Name | Description |
index | int |
value | Document.Entity |
Type | Description |
Document.Builder |
addEntities(int index, Document.Entity.Builder builderForValue)
public Document.Builder addEntities(int index, Document.Entity.Builder builderForValue)
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Name | Description |
index | int |
builderForValue | Document.Entity.Builder |
Type | Description |
Document.Builder |
addEntitiesBuilder()
public Document.Entity.Builder addEntitiesBuilder()
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Type | Description |
Document.Entity.Builder |
addEntitiesBuilder(int index)
public Document.Entity.Builder addEntitiesBuilder(int index)
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Name | Description |
index | int |
Type | Description |
Document.Entity.Builder |
addEntityRelations(Document.EntityRelation value)
public Document.Builder addEntityRelations(Document.EntityRelation value)
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Name | Description |
value | Document.EntityRelation |
Type | Description |
Document.Builder |
addEntityRelations(Document.EntityRelation.Builder builderForValue)
public Document.Builder addEntityRelations(Document.EntityRelation.Builder builderForValue)
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Name | Description |
builderForValue | Document.EntityRelation.Builder |
Type | Description |
Document.Builder |
addEntityRelations(int index, Document.EntityRelation value)
public Document.Builder addEntityRelations(int index, Document.EntityRelation value)
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Name | Description |
index | int |
value | Document.EntityRelation |
Type | Description |
Document.Builder |
addEntityRelations(int index, Document.EntityRelation.Builder builderForValue)
public Document.Builder addEntityRelations(int index, Document.EntityRelation.Builder builderForValue)
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Name | Description |
index | int |
builderForValue | Document.EntityRelation.Builder |
Type | Description |
Document.Builder |
addEntityRelationsBuilder()
public Document.EntityRelation.Builder addEntityRelationsBuilder()
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Type | Description |
Document.EntityRelation.Builder |
addEntityRelationsBuilder(int index)
public Document.EntityRelation.Builder addEntityRelationsBuilder(int index)
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Name | Description |
index | int |
Type | Description |
Document.EntityRelation.Builder |
addPages(Document.Page value)
public Document.Builder addPages(Document.Page value)
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Name | Description |
value | Document.Page |
Type | Description |
Document.Builder |
addPages(Document.Page.Builder builderForValue)
public Document.Builder addPages(Document.Page.Builder builderForValue)
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Name | Description |
builderForValue | Document.Page.Builder |
Type | Description |
Document.Builder |
addPages(int index, Document.Page value)
public Document.Builder addPages(int index, Document.Page value)
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Name | Description |
index | int |
value | Document.Page |
Type | Description |
Document.Builder |
addPages(int index, Document.Page.Builder builderForValue)
public Document.Builder addPages(int index, Document.Page.Builder builderForValue)
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Name | Description |
index | int |
builderForValue | Document.Page.Builder |
Type | Description |
Document.Builder |
addPagesBuilder()
public Document.Page.Builder addPagesBuilder()
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Type | Description |
Document.Page.Builder |
addPagesBuilder(int index)
public Document.Page.Builder addPagesBuilder(int index)
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Name | Description |
index | int |
Type | Description |
Document.Page.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Document.Builder |
addRevisions(Document.Revision value)
public Document.Builder addRevisions(Document.Revision value)
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Name | Description |
value | Document.Revision |
Type | Description |
Document.Builder |
addRevisions(Document.Revision.Builder builderForValue)
public Document.Builder addRevisions(Document.Revision.Builder builderForValue)
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Name | Description |
builderForValue | Document.Revision.Builder |
Type | Description |
Document.Builder |
addRevisions(int index, Document.Revision value)
public Document.Builder addRevisions(int index, Document.Revision value)
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Name | Description |
index | int |
value | Document.Revision |
Type | Description |
Document.Builder |
addRevisions(int index, Document.Revision.Builder builderForValue)
public Document.Builder addRevisions(int index, Document.Revision.Builder builderForValue)
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Name | Description |
index | int |
builderForValue | Document.Revision.Builder |
Type | Description |
Document.Builder |
addRevisionsBuilder()
public Document.Revision.Builder addRevisionsBuilder()
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Type | Description |
Document.Revision.Builder |
addRevisionsBuilder(int index)
public Document.Revision.Builder addRevisionsBuilder(int index)
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Name | Description |
index | int |
Type | Description |
Document.Revision.Builder |
addTextChanges(Document.TextChange value)
public Document.Builder addTextChanges(Document.TextChange value)
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Name | Description |
value | Document.TextChange |
Type | Description |
Document.Builder |
addTextChanges(Document.TextChange.Builder builderForValue)
public Document.Builder addTextChanges(Document.TextChange.Builder builderForValue)
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Name | Description |
builderForValue | Document.TextChange.Builder |
Type | Description |
Document.Builder |
addTextChanges(int index, Document.TextChange value)
public Document.Builder addTextChanges(int index, Document.TextChange value)
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Name | Description |
index | int |
value | Document.TextChange |
Type | Description |
Document.Builder |
addTextChanges(int index, Document.TextChange.Builder builderForValue)
public Document.Builder addTextChanges(int index, Document.TextChange.Builder builderForValue)
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Name | Description |
index | int |
builderForValue | Document.TextChange.Builder |
Type | Description |
Document.Builder |
addTextChangesBuilder()
public Document.TextChange.Builder addTextChangesBuilder()
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Type | Description |
Document.TextChange.Builder |
addTextChangesBuilder(int index)
public Document.TextChange.Builder addTextChangesBuilder(int index)
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Name | Description |
index | int |
Type | Description |
Document.TextChange.Builder |
addTextStyles(Document.Style value)
public Document.Builder addTextStyles(Document.Style value)
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Name | Description |
value | Document.Style |
Type | Description |
Document.Builder |
addTextStyles(Document.Style.Builder builderForValue)
public Document.Builder addTextStyles(Document.Style.Builder builderForValue)
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Name | Description |
builderForValue | Document.Style.Builder |
Type | Description |
Document.Builder |
addTextStyles(int index, Document.Style value)
public Document.Builder addTextStyles(int index, Document.Style value)
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Name | Description |
index | int |
value | Document.Style |
Type | Description |
Document.Builder |
addTextStyles(int index, Document.Style.Builder builderForValue)
public Document.Builder addTextStyles(int index, Document.Style.Builder builderForValue)
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Name | Description |
index | int |
builderForValue | Document.Style.Builder |
Type | Description |
Document.Builder |
addTextStylesBuilder()
public Document.Style.Builder addTextStylesBuilder()
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Type | Description |
Document.Style.Builder |
addTextStylesBuilder(int index)
public Document.Style.Builder addTextStylesBuilder(int index)
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Name | Description |
index | int |
Type | Description |
Document.Style.Builder |
build()
public Document build()
Type | Description |
Document |
buildPartial()
public Document buildPartial()
Type | Description |
Document |
clear()
public Document.Builder clear()
Type | Description |
Document.Builder |
clearContent()
public Document.Builder clearContent()
Optional. Inline document content, represented as a stream of bytes.
Note: As with all bytes
fields, protobuffers use a pure binary
representation, whereas JSON representations use base64.
bytes content = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Document.Builder | This builder for chaining. |
clearEntities()
public Document.Builder clearEntities()
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Type | Description |
Document.Builder |
clearEntityRelations()
public Document.Builder clearEntityRelations()
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Type | Description |
Document.Builder |
clearError()
public Document.Builder clearError()
Any error that occurred while processing this document.
.google.rpc.Status error = 10;
Type | Description |
Document.Builder |
clearField(Descriptors.FieldDescriptor field)
public Document.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Document.Builder |
clearMimeType()
public Document.Builder clearMimeType()
An IANA published MIME type (also referred to as media type). For more information, see https://www.iana.org/assignments/media-types/media-types.xhtml.
string mime_type = 3;
Type | Description |
Document.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Document.Builder |
clearPages()
public Document.Builder clearPages()
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Type | Description |
Document.Builder |
clearRevisions()
public Document.Builder clearRevisions()
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Type | Description |
Document.Builder |
clearShardInfo()
public Document.Builder clearShardInfo()
Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified.
.google.cloud.documentai.v1beta3.Document.ShardInfo shard_info = 9;
Type | Description |
Document.Builder |
clearSource()
public Document.Builder clearSource()
Type | Description |
Document.Builder |
clearText()
public Document.Builder clearText()
Optional. UTF-8 encoded text in reading order from the document.
string text = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Document.Builder | This builder for chaining. |
clearTextChanges()
public Document.Builder clearTextChanges()
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Type | Description |
Document.Builder |
clearTextStyles()
public Document.Builder clearTextStyles()
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Type | Description |
Document.Builder |
clearUri()
public Document.Builder clearUri()
Optional. Currently supports Google Cloud Storage URI of the form
gs://bucket_name/object_name
. Object versioning is not supported.
See Google Cloud Storage Request
URIs for more
info.
string uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Document.Builder | This builder for chaining. |
clone()
public Document.Builder clone()
Type | Description |
Document.Builder |
getContent()
public ByteString getContent()
Optional. Inline document content, represented as a stream of bytes.
Note: As with all bytes
fields, protobuffers use a pure binary
representation, whereas JSON representations use base64.
bytes content = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The content. |
getDefaultInstanceForType()
public Document getDefaultInstanceForType()
Type | Description |
Document |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEntities(int index)
public Document.Entity getEntities(int index)
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Name | Description |
index | int |
Type | Description |
Document.Entity |
getEntitiesBuilder(int index)
public Document.Entity.Builder getEntitiesBuilder(int index)
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Name | Description |
index | int |
Type | Description |
Document.Entity.Builder |
getEntitiesBuilderList()
public List<Document.Entity.Builder> getEntitiesBuilderList()
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Type | Description |
List<Builder> |
getEntitiesCount()
public int getEntitiesCount()
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Type | Description |
int |
getEntitiesList()
public List<Document.Entity> getEntitiesList()
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Type | Description |
List<Entity> |
getEntitiesOrBuilder(int index)
public Document.EntityOrBuilder getEntitiesOrBuilder(int index)
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Name | Description |
index | int |
Type | Description |
Document.EntityOrBuilder |
getEntitiesOrBuilderList()
public List<? extends Document.EntityOrBuilder> getEntitiesOrBuilderList()
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.EntityOrBuilder> |
getEntityRelations(int index)
public Document.EntityRelation getEntityRelations(int index)
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Name | Description |
index | int |
Type | Description |
Document.EntityRelation |
getEntityRelationsBuilder(int index)
public Document.EntityRelation.Builder getEntityRelationsBuilder(int index)
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Name | Description |
index | int |
Type | Description |
Document.EntityRelation.Builder |
getEntityRelationsBuilderList()
public List<Document.EntityRelation.Builder> getEntityRelationsBuilderList()
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Type | Description |
List<Builder> |
getEntityRelationsCount()
public int getEntityRelationsCount()
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Type | Description |
int |
getEntityRelationsList()
public List<Document.EntityRelation> getEntityRelationsList()
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Type | Description |
List<EntityRelation> |
getEntityRelationsOrBuilder(int index)
public Document.EntityRelationOrBuilder getEntityRelationsOrBuilder(int index)
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Name | Description |
index | int |
Type | Description |
Document.EntityRelationOrBuilder |
getEntityRelationsOrBuilderList()
public List<? extends Document.EntityRelationOrBuilder> getEntityRelationsOrBuilderList()
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.EntityRelationOrBuilder> |
getError()
public Status getError()
Any error that occurred while processing this document.
.google.rpc.Status error = 10;
Type | Description |
com.google.rpc.Status | The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
Any error that occurred while processing this document.
.google.rpc.Status error = 10;
Type | Description |
com.google.rpc.Status.Builder |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Any error that occurred while processing this document.
.google.rpc.Status error = 10;
Type | Description |
com.google.rpc.StatusOrBuilder |
getMimeType()
public String getMimeType()
An IANA published MIME type (also referred to as media type). For more information, see https://www.iana.org/assignments/media-types/media-types.xhtml.
string mime_type = 3;
Type | Description |
String | The mimeType. |
getMimeTypeBytes()
public ByteString getMimeTypeBytes()
An IANA published MIME type (also referred to as media type). For more information, see https://www.iana.org/assignments/media-types/media-types.xhtml.
string mime_type = 3;
Type | Description |
ByteString | The bytes for mimeType. |
getPages(int index)
public Document.Page getPages(int index)
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Name | Description |
index | int |
Type | Description |
Document.Page |
getPagesBuilder(int index)
public Document.Page.Builder getPagesBuilder(int index)
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Name | Description |
index | int |
Type | Description |
Document.Page.Builder |
getPagesBuilderList()
public List<Document.Page.Builder> getPagesBuilderList()
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Type | Description |
List<Builder> |
getPagesCount()
public int getPagesCount()
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Type | Description |
int |
getPagesList()
public List<Document.Page> getPagesList()
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Type | Description |
List<Page> |
getPagesOrBuilder(int index)
public Document.PageOrBuilder getPagesOrBuilder(int index)
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Name | Description |
index | int |
Type | Description |
Document.PageOrBuilder |
getPagesOrBuilderList()
public List<? extends Document.PageOrBuilder> getPagesOrBuilderList()
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.PageOrBuilder> |
getRevisions(int index)
public Document.Revision getRevisions(int index)
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Name | Description |
index | int |
Type | Description |
Document.Revision |
getRevisionsBuilder(int index)
public Document.Revision.Builder getRevisionsBuilder(int index)
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Name | Description |
index | int |
Type | Description |
Document.Revision.Builder |
getRevisionsBuilderList()
public List<Document.Revision.Builder> getRevisionsBuilderList()
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Type | Description |
List<Builder> |
getRevisionsCount()
public int getRevisionsCount()
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Type | Description |
int |
getRevisionsList()
public List<Document.Revision> getRevisionsList()
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Type | Description |
List<Revision> |
getRevisionsOrBuilder(int index)
public Document.RevisionOrBuilder getRevisionsOrBuilder(int index)
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Name | Description |
index | int |
Type | Description |
Document.RevisionOrBuilder |
getRevisionsOrBuilderList()
public List<? extends Document.RevisionOrBuilder> getRevisionsOrBuilderList()
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.RevisionOrBuilder> |
getShardInfo()
public Document.ShardInfo getShardInfo()
Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified.
.google.cloud.documentai.v1beta3.Document.ShardInfo shard_info = 9;
Type | Description |
Document.ShardInfo | The shardInfo. |
getShardInfoBuilder()
public Document.ShardInfo.Builder getShardInfoBuilder()
Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified.
.google.cloud.documentai.v1beta3.Document.ShardInfo shard_info = 9;
Type | Description |
Document.ShardInfo.Builder |
getShardInfoOrBuilder()
public Document.ShardInfoOrBuilder getShardInfoOrBuilder()
Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified.
.google.cloud.documentai.v1beta3.Document.ShardInfo shard_info = 9;
Type | Description |
Document.ShardInfoOrBuilder |
getSourceCase()
public Document.SourceCase getSourceCase()
Type | Description |
Document.SourceCase |
getText()
public String getText()
Optional. UTF-8 encoded text in reading order from the document.
string text = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The text. |
getTextBytes()
public ByteString getTextBytes()
Optional. UTF-8 encoded text in reading order from the document.
string text = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for text. |
getTextChanges(int index)
public Document.TextChange getTextChanges(int index)
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Name | Description |
index | int |
Type | Description |
Document.TextChange |
getTextChangesBuilder(int index)
public Document.TextChange.Builder getTextChangesBuilder(int index)
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Name | Description |
index | int |
Type | Description |
Document.TextChange.Builder |
getTextChangesBuilderList()
public List<Document.TextChange.Builder> getTextChangesBuilderList()
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Type | Description |
List<Builder> |
getTextChangesCount()
public int getTextChangesCount()
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Type | Description |
int |
getTextChangesList()
public List<Document.TextChange> getTextChangesList()
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Type | Description |
List<TextChange> |
getTextChangesOrBuilder(int index)
public Document.TextChangeOrBuilder getTextChangesOrBuilder(int index)
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Name | Description |
index | int |
Type | Description |
Document.TextChangeOrBuilder |
getTextChangesOrBuilderList()
public List<? extends Document.TextChangeOrBuilder> getTextChangesOrBuilderList()
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.TextChangeOrBuilder> |
getTextStyles(int index)
public Document.Style getTextStyles(int index)
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Name | Description |
index | int |
Type | Description |
Document.Style |
getTextStylesBuilder(int index)
public Document.Style.Builder getTextStylesBuilder(int index)
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Name | Description |
index | int |
Type | Description |
Document.Style.Builder |
getTextStylesBuilderList()
public List<Document.Style.Builder> getTextStylesBuilderList()
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Type | Description |
List<Builder> |
getTextStylesCount()
public int getTextStylesCount()
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Type | Description |
int |
getTextStylesList()
public List<Document.Style> getTextStylesList()
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Type | Description |
List<Style> |
getTextStylesOrBuilder(int index)
public Document.StyleOrBuilder getTextStylesOrBuilder(int index)
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Name | Description |
index | int |
Type | Description |
Document.StyleOrBuilder |
getTextStylesOrBuilderList()
public List<? extends Document.StyleOrBuilder> getTextStylesOrBuilderList()
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Document.StyleOrBuilder> |
getUri()
public String getUri()
Optional. Currently supports Google Cloud Storage URI of the form
gs://bucket_name/object_name
. Object versioning is not supported.
See Google Cloud Storage Request
URIs for more
info.
string uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The uri. |
getUriBytes()
public ByteString getUriBytes()
Optional. Currently supports Google Cloud Storage URI of the form
gs://bucket_name/object_name
. Object versioning is not supported.
See Google Cloud Storage Request
URIs for more
info.
string uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for uri. |
hasContent()
public boolean hasContent()
Optional. Inline document content, represented as a stream of bytes.
Note: As with all bytes
fields, protobuffers use a pure binary
representation, whereas JSON representations use base64.
bytes content = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the content field is set. |
hasError()
public boolean hasError()
Any error that occurred while processing this document.
.google.rpc.Status error = 10;
Type | Description |
boolean | Whether the error field is set. |
hasShardInfo()
public boolean hasShardInfo()
Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified.
.google.cloud.documentai.v1beta3.Document.ShardInfo shard_info = 9;
Type | Description |
boolean | Whether the shardInfo field is set. |
hasUri()
public boolean hasUri()
Optional. Currently supports Google Cloud Storage URI of the form
gs://bucket_name/object_name
. Object versioning is not supported.
See Google Cloud Storage Request
URIs for more
info.
string uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the uri field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeError(Status value)
public Document.Builder mergeError(Status value)
Any error that occurred while processing this document.
.google.rpc.Status error = 10;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
Document.Builder |
mergeFrom(Document other)
public Document.Builder mergeFrom(Document other)
Name | Description |
other | Document |
Type | Description |
Document.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Document.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Document.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Document.Builder |
mergeShardInfo(Document.ShardInfo value)
public Document.Builder mergeShardInfo(Document.ShardInfo value)
Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified.
.google.cloud.documentai.v1beta3.Document.ShardInfo shard_info = 9;
Name | Description |
value | Document.ShardInfo |
Type | Description |
Document.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Document.Builder |
removeEntities(int index)
public Document.Builder removeEntities(int index)
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Name | Description |
index | int |
Type | Description |
Document.Builder |
removeEntityRelations(int index)
public Document.Builder removeEntityRelations(int index)
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Name | Description |
index | int |
Type | Description |
Document.Builder |
removePages(int index)
public Document.Builder removePages(int index)
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Name | Description |
index | int |
Type | Description |
Document.Builder |
removeRevisions(int index)
public Document.Builder removeRevisions(int index)
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Name | Description |
index | int |
Type | Description |
Document.Builder |
removeTextChanges(int index)
public Document.Builder removeTextChanges(int index)
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Name | Description |
index | int |
Type | Description |
Document.Builder |
removeTextStyles(int index)
public Document.Builder removeTextStyles(int index)
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Name | Description |
index | int |
Type | Description |
Document.Builder |
setContent(ByteString value)
public Document.Builder setContent(ByteString value)
Optional. Inline document content, represented as a stream of bytes.
Note: As with all bytes
fields, protobuffers use a pure binary
representation, whereas JSON representations use base64.
bytes content = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The content to set. |
Type | Description |
Document.Builder | This builder for chaining. |
setEntities(int index, Document.Entity value)
public Document.Builder setEntities(int index, Document.Entity value)
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Name | Description |
index | int |
value | Document.Entity |
Type | Description |
Document.Builder |
setEntities(int index, Document.Entity.Builder builderForValue)
public Document.Builder setEntities(int index, Document.Entity.Builder builderForValue)
A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.
repeated .google.cloud.documentai.v1beta3.Document.Entity entities = 7;
Name | Description |
index | int |
builderForValue | Document.Entity.Builder |
Type | Description |
Document.Builder |
setEntityRelations(int index, Document.EntityRelation value)
public Document.Builder setEntityRelations(int index, Document.EntityRelation value)
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Name | Description |
index | int |
value | Document.EntityRelation |
Type | Description |
Document.Builder |
setEntityRelations(int index, Document.EntityRelation.Builder builderForValue)
public Document.Builder setEntityRelations(int index, Document.EntityRelation.Builder builderForValue)
Placeholder. Relationship among Document.entities.
repeated .google.cloud.documentai.v1beta3.Document.EntityRelation entity_relations = 8;
Name | Description |
index | int |
builderForValue | Document.EntityRelation.Builder |
Type | Description |
Document.Builder |
setError(Status value)
public Document.Builder setError(Status value)
Any error that occurred while processing this document.
.google.rpc.Status error = 10;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
Document.Builder |
setError(Status.Builder builderForValue)
public Document.Builder setError(Status.Builder builderForValue)
Any error that occurred while processing this document.
.google.rpc.Status error = 10;
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Type | Description |
Document.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Document.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Document.Builder |
setMimeType(String value)
public Document.Builder setMimeType(String value)
An IANA published MIME type (also referred to as media type). For more information, see https://www.iana.org/assignments/media-types/media-types.xhtml.
string mime_type = 3;
Name | Description |
value | String The mimeType to set. |
Type | Description |
Document.Builder | This builder for chaining. |
setMimeTypeBytes(ByteString value)
public Document.Builder setMimeTypeBytes(ByteString value)
An IANA published MIME type (also referred to as media type). For more information, see https://www.iana.org/assignments/media-types/media-types.xhtml.
string mime_type = 3;
Name | Description |
value | ByteString The bytes for mimeType to set. |
Type | Description |
Document.Builder | This builder for chaining. |
setPages(int index, Document.Page value)
public Document.Builder setPages(int index, Document.Page value)
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Name | Description |
index | int |
value | Document.Page |
Type | Description |
Document.Builder |
setPages(int index, Document.Page.Builder builderForValue)
public Document.Builder setPages(int index, Document.Page.Builder builderForValue)
Visual page layout for the Document.
repeated .google.cloud.documentai.v1beta3.Document.Page pages = 6;
Name | Description |
index | int |
builderForValue | Document.Page.Builder |
Type | Description |
Document.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Document.Builder |
setRevisions(int index, Document.Revision value)
public Document.Builder setRevisions(int index, Document.Revision value)
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Name | Description |
index | int |
value | Document.Revision |
Type | Description |
Document.Builder |
setRevisions(int index, Document.Revision.Builder builderForValue)
public Document.Builder setRevisions(int index, Document.Revision.Builder builderForValue)
Placeholder. Revision history of this document.
repeated .google.cloud.documentai.v1beta3.Document.Revision revisions = 13;
Name | Description |
index | int |
builderForValue | Document.Revision.Builder |
Type | Description |
Document.Builder |
setShardInfo(Document.ShardInfo value)
public Document.Builder setShardInfo(Document.ShardInfo value)
Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified.
.google.cloud.documentai.v1beta3.Document.ShardInfo shard_info = 9;
Name | Description |
value | Document.ShardInfo |
Type | Description |
Document.Builder |
setShardInfo(Document.ShardInfo.Builder builderForValue)
public Document.Builder setShardInfo(Document.ShardInfo.Builder builderForValue)
Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified.
.google.cloud.documentai.v1beta3.Document.ShardInfo shard_info = 9;
Name | Description |
builderForValue | Document.ShardInfo.Builder |
Type | Description |
Document.Builder |
setText(String value)
public Document.Builder setText(String value)
Optional. UTF-8 encoded text in reading order from the document.
string text = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The text to set. |
Type | Description |
Document.Builder | This builder for chaining. |
setTextBytes(ByteString value)
public Document.Builder setTextBytes(ByteString value)
Optional. UTF-8 encoded text in reading order from the document.
string text = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for text to set. |
Type | Description |
Document.Builder | This builder for chaining. |
setTextChanges(int index, Document.TextChange value)
public Document.Builder setTextChanges(int index, Document.TextChange value)
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Name | Description |
index | int |
value | Document.TextChange |
Type | Description |
Document.Builder |
setTextChanges(int index, Document.TextChange.Builder builderForValue)
public Document.Builder setTextChanges(int index, Document.TextChange.Builder builderForValue)
Placeholder. A list of text corrections made to [Document.text]. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.
repeated .google.cloud.documentai.v1beta3.Document.TextChange text_changes = 14;
Name | Description |
index | int |
builderForValue | Document.TextChange.Builder |
Type | Description |
Document.Builder |
setTextStyles(int index, Document.Style value)
public Document.Builder setTextStyles(int index, Document.Style value)
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Name | Description |
index | int |
value | Document.Style |
Type | Description |
Document.Builder |
setTextStyles(int index, Document.Style.Builder builderForValue)
public Document.Builder setTextStyles(int index, Document.Style.Builder builderForValue)
Placeholder. Styles for the Document.text.
repeated .google.cloud.documentai.v1beta3.Document.Style text_styles = 5;
Name | Description |
index | int |
builderForValue | Document.Style.Builder |
Type | Description |
Document.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Document.Builder |
setUri(String value)
public Document.Builder setUri(String value)
Optional. Currently supports Google Cloud Storage URI of the form
gs://bucket_name/object_name
. Object versioning is not supported.
See Google Cloud Storage Request
URIs for more
info.
string uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The uri to set. |
Type | Description |
Document.Builder | This builder for chaining. |
setUriBytes(ByteString value)
public Document.Builder setUriBytes(ByteString value)
Optional. Currently supports Google Cloud Storage URI of the form
gs://bucket_name/object_name
. Object versioning is not supported.
See Google Cloud Storage Request
URIs for more
info.
string uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for uri to set. |
Type | Description |
Document.Builder | This builder for chaining. |