public static final class Document.Entity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder> implements Document.EntityOrBuilder
An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.Protobuf type
google.cloud.documentai.v1beta3.Document.EntitygetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder>public Document.Entity.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder>public Document.Entity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Document.Entity build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Document.Entity buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Document.Entity.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder>public Document.Entity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder>public Document.Entity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder>public Document.Entity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder>public Document.Entity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder>public Document.Entity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder>public Document.Entity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Document.Entity.Builder>public Document.Entity.Builder mergeFrom(Document.Entity other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder>public Document.Entity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Document.Entity.Builder>IOExceptionpublic boolean hasTextAnchor()
Optional. Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
.google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL];
hasTextAnchor in interface Document.EntityOrBuilderpublic Document.TextAnchor getTextAnchor()
Optional. Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
.google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL];
getTextAnchor in interface Document.EntityOrBuilderpublic Document.Entity.Builder setTextAnchor(Document.TextAnchor value)
Optional. Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
.google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder setTextAnchor(Document.TextAnchor.Builder builderForValue)
Optional. Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
.google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder mergeTextAnchor(Document.TextAnchor value)
Optional. Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
.google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder clearTextAnchor()
Optional. Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
.google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL];
public Document.TextAnchor.Builder getTextAnchorBuilder()
Optional. Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
.google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL];
public Document.TextAnchorOrBuilder getTextAnchorOrBuilder()
Optional. Provenance of the entity. Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
.google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL];
getTextAnchorOrBuilder in interface Document.EntityOrBuilderpublic String getType()
Required. Entity type from a schema e.g. `Address`.
string type = 2 [(.google.api.field_behavior) = REQUIRED];getType in interface Document.EntityOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Required. Entity type from a schema e.g. `Address`.
string type = 2 [(.google.api.field_behavior) = REQUIRED];getTypeBytes in interface Document.EntityOrBuilderpublic Document.Entity.Builder setType(String value)
Required. Entity type from a schema e.g. `Address`.
string type = 2 [(.google.api.field_behavior) = REQUIRED];value - The type to set.public Document.Entity.Builder clearType()
Required. Entity type from a schema e.g. `Address`.
string type = 2 [(.google.api.field_behavior) = REQUIRED];public Document.Entity.Builder setTypeBytes(com.google.protobuf.ByteString value)
Required. Entity type from a schema e.g. `Address`.
string type = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for type to set.public String getMentionText()
Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL];getMentionText in interface Document.EntityOrBuilderpublic com.google.protobuf.ByteString getMentionTextBytes()
Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL];getMentionTextBytes in interface Document.EntityOrBuilderpublic Document.Entity.Builder setMentionText(String value)
Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL];value - The mentionText to set.public Document.Entity.Builder clearMentionText()
Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL];public Document.Entity.Builder setMentionTextBytes(com.google.protobuf.ByteString value)
Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for mentionText to set.public String getMentionId()
Optional. Deprecated. Use `id` field instead.
string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL];getMentionId in interface Document.EntityOrBuilderpublic com.google.protobuf.ByteString getMentionIdBytes()
Optional. Deprecated. Use `id` field instead.
string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL];getMentionIdBytes in interface Document.EntityOrBuilderpublic Document.Entity.Builder setMentionId(String value)
Optional. Deprecated. Use `id` field instead.
string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL];value - The mentionId to set.public Document.Entity.Builder clearMentionId()
Optional. Deprecated. Use `id` field instead.
string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL];public Document.Entity.Builder setMentionIdBytes(com.google.protobuf.ByteString value)
Optional. Deprecated. Use `id` field instead.
string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for mentionId to set.public float getConfidence()
Optional. Confidence of detected Schema entity. Range `[0, 1]`.
float confidence = 5 [(.google.api.field_behavior) = OPTIONAL];getConfidence in interface Document.EntityOrBuilderpublic Document.Entity.Builder setConfidence(float value)
Optional. Confidence of detected Schema entity. Range `[0, 1]`.
float confidence = 5 [(.google.api.field_behavior) = OPTIONAL];value - The confidence to set.public Document.Entity.Builder clearConfidence()
Optional. Confidence of detected Schema entity. Range `[0, 1]`.
float confidence = 5 [(.google.api.field_behavior) = OPTIONAL];public boolean hasPageAnchor()
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
.google.cloud.documentai.v1beta3.Document.PageAnchor page_anchor = 6 [(.google.api.field_behavior) = OPTIONAL];
hasPageAnchor in interface Document.EntityOrBuilderpublic Document.PageAnchor getPageAnchor()
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
.google.cloud.documentai.v1beta3.Document.PageAnchor page_anchor = 6 [(.google.api.field_behavior) = OPTIONAL];
getPageAnchor in interface Document.EntityOrBuilderpublic Document.Entity.Builder setPageAnchor(Document.PageAnchor value)
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
.google.cloud.documentai.v1beta3.Document.PageAnchor page_anchor = 6 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder setPageAnchor(Document.PageAnchor.Builder builderForValue)
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
.google.cloud.documentai.v1beta3.Document.PageAnchor page_anchor = 6 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder mergePageAnchor(Document.PageAnchor value)
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
.google.cloud.documentai.v1beta3.Document.PageAnchor page_anchor = 6 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder clearPageAnchor()
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
.google.cloud.documentai.v1beta3.Document.PageAnchor page_anchor = 6 [(.google.api.field_behavior) = OPTIONAL];
public Document.PageAnchor.Builder getPageAnchorBuilder()
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
.google.cloud.documentai.v1beta3.Document.PageAnchor page_anchor = 6 [(.google.api.field_behavior) = OPTIONAL];
public Document.PageAnchorOrBuilder getPageAnchorOrBuilder()
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
.google.cloud.documentai.v1beta3.Document.PageAnchor page_anchor = 6 [(.google.api.field_behavior) = OPTIONAL];
getPageAnchorOrBuilder in interface Document.EntityOrBuilderpublic String getId()
Optional. Canonical id. This will be a unique value in the entity list for this document.
string id = 7 [(.google.api.field_behavior) = OPTIONAL];getId in interface Document.EntityOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
Optional. Canonical id. This will be a unique value in the entity list for this document.
string id = 7 [(.google.api.field_behavior) = OPTIONAL];getIdBytes in interface Document.EntityOrBuilderpublic Document.Entity.Builder setId(String value)
Optional. Canonical id. This will be a unique value in the entity list for this document.
string id = 7 [(.google.api.field_behavior) = OPTIONAL];value - The id to set.public Document.Entity.Builder clearId()
Optional. Canonical id. This will be a unique value in the entity list for this document.
string id = 7 [(.google.api.field_behavior) = OPTIONAL];public Document.Entity.Builder setIdBytes(com.google.protobuf.ByteString value)
Optional. Canonical id. This will be a unique value in the entity list for this document.
string id = 7 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for id to set.public boolean hasNormalizedValue()
Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.
.google.cloud.documentai.v1beta3.Document.Entity.NormalizedValue normalized_value = 9 [(.google.api.field_behavior) = OPTIONAL];
hasNormalizedValue in interface Document.EntityOrBuilderpublic Document.Entity.NormalizedValue getNormalizedValue()
Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.
.google.cloud.documentai.v1beta3.Document.Entity.NormalizedValue normalized_value = 9 [(.google.api.field_behavior) = OPTIONAL];
getNormalizedValue in interface Document.EntityOrBuilderpublic Document.Entity.Builder setNormalizedValue(Document.Entity.NormalizedValue value)
Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.
.google.cloud.documentai.v1beta3.Document.Entity.NormalizedValue normalized_value = 9 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder setNormalizedValue(Document.Entity.NormalizedValue.Builder builderForValue)
Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.
.google.cloud.documentai.v1beta3.Document.Entity.NormalizedValue normalized_value = 9 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder mergeNormalizedValue(Document.Entity.NormalizedValue value)
Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.
.google.cloud.documentai.v1beta3.Document.Entity.NormalizedValue normalized_value = 9 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder clearNormalizedValue()
Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.
.google.cloud.documentai.v1beta3.Document.Entity.NormalizedValue normalized_value = 9 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.NormalizedValue.Builder getNormalizedValueBuilder()
Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.
.google.cloud.documentai.v1beta3.Document.Entity.NormalizedValue normalized_value = 9 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.NormalizedValueOrBuilder getNormalizedValueOrBuilder()
Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.
.google.cloud.documentai.v1beta3.Document.Entity.NormalizedValue normalized_value = 9 [(.google.api.field_behavior) = OPTIONAL];
getNormalizedValueOrBuilder in interface Document.EntityOrBuilderpublic List<Document.Entity> getPropertiesList()
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
getPropertiesList in interface Document.EntityOrBuilderpublic int getPropertiesCount()
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
getPropertiesCount in interface Document.EntityOrBuilderpublic Document.Entity getProperties(int index)
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
getProperties in interface Document.EntityOrBuilderpublic Document.Entity.Builder setProperties(int index, Document.Entity value)
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder setProperties(int index, Document.Entity.Builder builderForValue)
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder addProperties(Document.Entity value)
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder addProperties(int index, Document.Entity value)
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder addProperties(Document.Entity.Builder builderForValue)
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder addProperties(int index, Document.Entity.Builder builderForValue)
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder addAllProperties(Iterable<? extends Document.Entity> values)
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder clearProperties()
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder removeProperties(int index)
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder getPropertiesBuilder(int index)
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public Document.EntityOrBuilder getPropertiesOrBuilder(int index)
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
getPropertiesOrBuilder in interface Document.EntityOrBuilderpublic List<? extends Document.EntityOrBuilder> getPropertiesOrBuilderList()
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
getPropertiesOrBuilderList in interface Document.EntityOrBuilderpublic Document.Entity.Builder addPropertiesBuilder()
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder addPropertiesBuilder(int index)
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public List<Document.Entity.Builder> getPropertiesBuilderList()
Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
repeated .google.cloud.documentai.v1beta3.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasProvenance()
Optional. The history of this annotation.
.google.cloud.documentai.v1beta3.Document.Provenance provenance = 11 [(.google.api.field_behavior) = OPTIONAL];
hasProvenance in interface Document.EntityOrBuilderpublic Document.Provenance getProvenance()
Optional. The history of this annotation.
.google.cloud.documentai.v1beta3.Document.Provenance provenance = 11 [(.google.api.field_behavior) = OPTIONAL];
getProvenance in interface Document.EntityOrBuilderpublic Document.Entity.Builder setProvenance(Document.Provenance value)
Optional. The history of this annotation.
.google.cloud.documentai.v1beta3.Document.Provenance provenance = 11 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder setProvenance(Document.Provenance.Builder builderForValue)
Optional. The history of this annotation.
.google.cloud.documentai.v1beta3.Document.Provenance provenance = 11 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder mergeProvenance(Document.Provenance value)
Optional. The history of this annotation.
.google.cloud.documentai.v1beta3.Document.Provenance provenance = 11 [(.google.api.field_behavior) = OPTIONAL];
public Document.Entity.Builder clearProvenance()
Optional. The history of this annotation.
.google.cloud.documentai.v1beta3.Document.Provenance provenance = 11 [(.google.api.field_behavior) = OPTIONAL];
public Document.Provenance.Builder getProvenanceBuilder()
Optional. The history of this annotation.
.google.cloud.documentai.v1beta3.Document.Provenance provenance = 11 [(.google.api.field_behavior) = OPTIONAL];
public Document.ProvenanceOrBuilder getProvenanceOrBuilder()
Optional. The history of this annotation.
.google.cloud.documentai.v1beta3.Document.Provenance provenance = 11 [(.google.api.field_behavior) = OPTIONAL];
getProvenanceOrBuilder in interface Document.EntityOrBuilderpublic boolean getRedacted()
Optional. Whether the entity will be redacted for de-identification purposes.
bool redacted = 12 [(.google.api.field_behavior) = OPTIONAL];getRedacted in interface Document.EntityOrBuilderpublic Document.Entity.Builder setRedacted(boolean value)
Optional. Whether the entity will be redacted for de-identification purposes.
bool redacted = 12 [(.google.api.field_behavior) = OPTIONAL];value - The redacted to set.public Document.Entity.Builder clearRedacted()
Optional. Whether the entity will be redacted for de-identification purposes.
bool redacted = 12 [(.google.api.field_behavior) = OPTIONAL];public final Document.Entity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder>public final Document.Entity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Document.Entity.Builder>Copyright © 2024 Google LLC. All rights reserved.