Package com.google.cloud.documentai.v1
Class Document.Page.FormField.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Document.Page.FormField.Builder>
com.google.cloud.documentai.v1.Document.Page.FormField.Builder
- All Implemented Interfaces:
Document.Page.FormFieldOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Document.Page.FormField
public static final class Document.Page.FormField.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Document.Page.FormField.Builder>
implements Document.Page.FormFieldOrBuilder
A form field detected on the page.Protobuf type
google.cloud.documentai.v1.Document.Page.FormField-
Method Summary
Modifier and TypeMethodDescriptionaddAllNameDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values) A list of detected languages for name together with confidence.addAllValueDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values) A list of detected languages for value together with confidence.addNameDetectedLanguages(int index, Document.Page.DetectedLanguage value) A list of detected languages for name together with confidence.addNameDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue) A list of detected languages for name together with confidence.A list of detected languages for name together with confidence.addNameDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue) A list of detected languages for name together with confidence.A list of detected languages for name together with confidence.addNameDetectedLanguagesBuilder(int index) A list of detected languages for name together with confidence.addValueDetectedLanguages(int index, Document.Page.DetectedLanguage value) A list of detected languages for value together with confidence.addValueDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue) A list of detected languages for value together with confidence.A list of detected languages for value together with confidence.addValueDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue) A list of detected languages for value together with confidence.A list of detected languages for value together with confidence.addValueDetectedLanguagesBuilder(int index) A list of detected languages for value together with confidence.build()clear()Created for Labeling UI to export key text.Created for Labeling UI to export value text.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.A list of detected languages for name together with confidence.The history of this annotation.A list of detected languages for value together with confidence.If the value is non-textual, this field represents the type.Created for Labeling UI to export key text.com.google.protobuf.ByteStringCreated for Labeling UI to export key text.Created for Labeling UI to export value text.com.google.protobuf.ByteStringCreated for Labeling UI to export value text.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.getNameDetectedLanguages(int index) A list of detected languages for name together with confidence.getNameDetectedLanguagesBuilder(int index) A list of detected languages for name together with confidence.A list of detected languages for name together with confidence.intA list of detected languages for name together with confidence.A list of detected languages for name together with confidence.getNameDetectedLanguagesOrBuilder(int index) A list of detected languages for name together with confidence.List<? extends Document.Page.DetectedLanguageOrBuilder>A list of detected languages for name together with confidence.The history of this annotation.The history of this annotation.The history of this annotation.getValueDetectedLanguages(int index) A list of detected languages for value together with confidence.getValueDetectedLanguagesBuilder(int index) A list of detected languages for value together with confidence.A list of detected languages for value together with confidence.intA list of detected languages for value together with confidence.A list of detected languages for value together with confidence.getValueDetectedLanguagesOrBuilder(int index) A list of detected languages for value together with confidence.List<? extends Document.Page.DetectedLanguageOrBuilder>A list of detected languages for value together with confidence.If the value is non-textual, this field represents the type.com.google.protobuf.ByteStringIf the value is non-textual, this field represents the type.boolean[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.boolean[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.booleanThe history of this annotation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal boolean[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.mergeFrom(Document.Page.FormField other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The history of this annotation.removeNameDetectedLanguages(int index) A list of detected languages for name together with confidence.removeValueDetectedLanguages(int index) A list of detected languages for value together with confidence.setCorrectedKeyText(String value) Created for Labeling UI to export key text.setCorrectedKeyTextBytes(com.google.protobuf.ByteString value) Created for Labeling UI to export key text.setCorrectedValueText(String value) Created for Labeling UI to export value text.setCorrectedValueTextBytes(com.google.protobuf.ByteString value) Created for Labeling UI to export value text.setFieldName(Document.Page.Layout value) [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.setFieldName(Document.Page.Layout.Builder builderForValue) [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.setFieldValue(Document.Page.Layout.Builder builderForValue) [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.setNameDetectedLanguages(int index, Document.Page.DetectedLanguage value) A list of detected languages for name together with confidence.setNameDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue) A list of detected languages for name together with confidence.setProvenance(Document.Provenance value) The history of this annotation.setProvenance(Document.Provenance.Builder builderForValue) The history of this annotation.setValueDetectedLanguages(int index, Document.Page.DetectedLanguage value) A list of detected languages for value together with confidence.setValueDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue) A list of detected languages for value together with confidence.setValueType(String value) If the value is non-textual, this field represents the type.setValueTypeBytes(com.google.protobuf.ByteString value) If the value is non-textual, this field represents the type.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Document.Page.FormField.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Document.Page.FormField.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Document.Page.FormField.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Document.Page.FormField.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Document.Page.FormField.Builder>
-
mergeFrom
public Document.Page.FormField.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Document.Page.FormField.Builder>- Throws:
IOException
-
hasFieldName
public boolean hasFieldName()[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. For example, `Address`, `Email`, `Grand total`, `Phone number`, etc.
.google.cloud.documentai.v1.Document.Page.Layout field_name = 1;- Specified by:
hasFieldNamein interfaceDocument.Page.FormFieldOrBuilder- Returns:
- Whether the fieldName field is set.
-
getFieldName
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. For example, `Address`, `Email`, `Grand total`, `Phone number`, etc.
.google.cloud.documentai.v1.Document.Page.Layout field_name = 1;- Specified by:
getFieldNamein interfaceDocument.Page.FormFieldOrBuilder- Returns:
- The fieldName.
-
setFieldName
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. For example, `Address`, `Email`, `Grand total`, `Phone number`, etc.
.google.cloud.documentai.v1.Document.Page.Layout field_name = 1; -
setFieldName
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. For example, `Address`, `Email`, `Grand total`, `Phone number`, etc.
.google.cloud.documentai.v1.Document.Page.Layout field_name = 1; -
mergeFieldName
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. For example, `Address`, `Email`, `Grand total`, `Phone number`, etc.
.google.cloud.documentai.v1.Document.Page.Layout field_name = 1; -
clearFieldName
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. For example, `Address`, `Email`, `Grand total`, `Phone number`, etc.
.google.cloud.documentai.v1.Document.Page.Layout field_name = 1; -
getFieldNameBuilder
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. For example, `Address`, `Email`, `Grand total`, `Phone number`, etc.
.google.cloud.documentai.v1.Document.Page.Layout field_name = 1; -
getFieldNameOrBuilder
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. For example, `Address`, `Email`, `Grand total`, `Phone number`, etc.
.google.cloud.documentai.v1.Document.Page.Layout field_name = 1;- Specified by:
getFieldNameOrBuilderin interfaceDocument.Page.FormFieldOrBuilder
-
hasFieldValue
public boolean hasFieldValue()[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
.google.cloud.documentai.v1.Document.Page.Layout field_value = 2;- Specified by:
hasFieldValuein interfaceDocument.Page.FormFieldOrBuilder- Returns:
- Whether the fieldValue field is set.
-
getFieldValue
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
.google.cloud.documentai.v1.Document.Page.Layout field_value = 2;- Specified by:
getFieldValuein interfaceDocument.Page.FormFieldOrBuilder- Returns:
- The fieldValue.
-
setFieldValue
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
.google.cloud.documentai.v1.Document.Page.Layout field_value = 2; -
setFieldValue
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
.google.cloud.documentai.v1.Document.Page.Layout field_value = 2; -
mergeFieldValue
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
.google.cloud.documentai.v1.Document.Page.Layout field_value = 2; -
clearFieldValue
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
.google.cloud.documentai.v1.Document.Page.Layout field_value = 2; -
getFieldValueBuilder
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
.google.cloud.documentai.v1.Document.Page.Layout field_value = 2; -
getFieldValueOrBuilder
[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
.google.cloud.documentai.v1.Document.Page.Layout field_value = 2;- Specified by:
getFieldValueOrBuilderin interfaceDocument.Page.FormFieldOrBuilder
-
getNameDetectedLanguagesList
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3;- Specified by:
getNameDetectedLanguagesListin interfaceDocument.Page.FormFieldOrBuilder
-
getNameDetectedLanguagesCount
public int getNameDetectedLanguagesCount()A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3;- Specified by:
getNameDetectedLanguagesCountin interfaceDocument.Page.FormFieldOrBuilder
-
getNameDetectedLanguages
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3;- Specified by:
getNameDetectedLanguagesin interfaceDocument.Page.FormFieldOrBuilder
-
setNameDetectedLanguages
public Document.Page.FormField.Builder setNameDetectedLanguages(int index, Document.Page.DetectedLanguage value) A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
setNameDetectedLanguages
public Document.Page.FormField.Builder setNameDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue) A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
addNameDetectedLanguages
public Document.Page.FormField.Builder addNameDetectedLanguages(Document.Page.DetectedLanguage value) A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
addNameDetectedLanguages
public Document.Page.FormField.Builder addNameDetectedLanguages(int index, Document.Page.DetectedLanguage value) A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
addNameDetectedLanguages
public Document.Page.FormField.Builder addNameDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue) A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
addNameDetectedLanguages
public Document.Page.FormField.Builder addNameDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue) A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
addAllNameDetectedLanguages
public Document.Page.FormField.Builder addAllNameDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values) A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
clearNameDetectedLanguages
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
removeNameDetectedLanguages
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
getNameDetectedLanguagesBuilder
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
getNameDetectedLanguagesOrBuilder
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3;- Specified by:
getNameDetectedLanguagesOrBuilderin interfaceDocument.Page.FormFieldOrBuilder
-
getNameDetectedLanguagesOrBuilderList
public List<? extends Document.Page.DetectedLanguageOrBuilder> getNameDetectedLanguagesOrBuilderList()A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3;- Specified by:
getNameDetectedLanguagesOrBuilderListin interfaceDocument.Page.FormFieldOrBuilder
-
addNameDetectedLanguagesBuilder
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
addNameDetectedLanguagesBuilder
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
getNameDetectedLanguagesBuilderList
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; -
getValueDetectedLanguagesList
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4;- Specified by:
getValueDetectedLanguagesListin interfaceDocument.Page.FormFieldOrBuilder
-
getValueDetectedLanguagesCount
public int getValueDetectedLanguagesCount()A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4;- Specified by:
getValueDetectedLanguagesCountin interfaceDocument.Page.FormFieldOrBuilder
-
getValueDetectedLanguages
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4;- Specified by:
getValueDetectedLanguagesin interfaceDocument.Page.FormFieldOrBuilder
-
setValueDetectedLanguages
public Document.Page.FormField.Builder setValueDetectedLanguages(int index, Document.Page.DetectedLanguage value) A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
setValueDetectedLanguages
public Document.Page.FormField.Builder setValueDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue) A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
addValueDetectedLanguages
public Document.Page.FormField.Builder addValueDetectedLanguages(Document.Page.DetectedLanguage value) A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
addValueDetectedLanguages
public Document.Page.FormField.Builder addValueDetectedLanguages(int index, Document.Page.DetectedLanguage value) A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
addValueDetectedLanguages
public Document.Page.FormField.Builder addValueDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue) A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
addValueDetectedLanguages
public Document.Page.FormField.Builder addValueDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue) A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
addAllValueDetectedLanguages
public Document.Page.FormField.Builder addAllValueDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values) A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
clearValueDetectedLanguages
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
removeValueDetectedLanguages
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
getValueDetectedLanguagesBuilder
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
getValueDetectedLanguagesOrBuilder
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4;- Specified by:
getValueDetectedLanguagesOrBuilderin interfaceDocument.Page.FormFieldOrBuilder
-
getValueDetectedLanguagesOrBuilderList
public List<? extends Document.Page.DetectedLanguageOrBuilder> getValueDetectedLanguagesOrBuilderList()A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4;- Specified by:
getValueDetectedLanguagesOrBuilderListin interfaceDocument.Page.FormFieldOrBuilder
-
addValueDetectedLanguagesBuilder
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
addValueDetectedLanguagesBuilder
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
getValueDetectedLanguagesBuilderList
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; -
getValueType
If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`
string value_type = 5;- Specified by:
getValueTypein interfaceDocument.Page.FormFieldOrBuilder- Returns:
- The valueType.
-
getValueTypeBytes
public com.google.protobuf.ByteString getValueTypeBytes()If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`
string value_type = 5;- Specified by:
getValueTypeBytesin interfaceDocument.Page.FormFieldOrBuilder- Returns:
- The bytes for valueType.
-
setValueType
If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`
string value_type = 5;- Parameters:
value- The valueType to set.- Returns:
- This builder for chaining.
-
clearValueType
If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`
string value_type = 5;- Returns:
- This builder for chaining.
-
setValueTypeBytes
If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`
string value_type = 5;- Parameters:
value- The bytes for valueType to set.- Returns:
- This builder for chaining.
-
getCorrectedKeyText
Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
string corrected_key_text = 6;- Specified by:
getCorrectedKeyTextin interfaceDocument.Page.FormFieldOrBuilder- Returns:
- The correctedKeyText.
-
getCorrectedKeyTextBytes
public com.google.protobuf.ByteString getCorrectedKeyTextBytes()Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
string corrected_key_text = 6;- Specified by:
getCorrectedKeyTextBytesin interfaceDocument.Page.FormFieldOrBuilder- Returns:
- The bytes for correctedKeyText.
-
setCorrectedKeyText
Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
string corrected_key_text = 6;- Parameters:
value- The correctedKeyText to set.- Returns:
- This builder for chaining.
-
clearCorrectedKeyText
Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
string corrected_key_text = 6;- Returns:
- This builder for chaining.
-
setCorrectedKeyTextBytes
public Document.Page.FormField.Builder setCorrectedKeyTextBytes(com.google.protobuf.ByteString value) Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction.
string corrected_key_text = 6;- Parameters:
value- The bytes for correctedKeyText to set.- Returns:
- This builder for chaining.
-
getCorrectedValueText
Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
string corrected_value_text = 7;- Specified by:
getCorrectedValueTextin interfaceDocument.Page.FormFieldOrBuilder- Returns:
- The correctedValueText.
-
getCorrectedValueTextBytes
public com.google.protobuf.ByteString getCorrectedValueTextBytes()Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
string corrected_value_text = 7;- Specified by:
getCorrectedValueTextBytesin interfaceDocument.Page.FormFieldOrBuilder- Returns:
- The bytes for correctedValueText.
-
setCorrectedValueText
Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
string corrected_value_text = 7;- Parameters:
value- The correctedValueText to set.- Returns:
- This builder for chaining.
-
clearCorrectedValueText
Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
string corrected_value_text = 7;- Returns:
- This builder for chaining.
-
setCorrectedValueTextBytes
public Document.Page.FormField.Builder setCorrectedValueTextBytes(com.google.protobuf.ByteString value) Created for Labeling UI to export value text. If corrections were made to the text identified by the `field_value.text_anchor`, this field will contain the correction.
string corrected_value_text = 7;- Parameters:
value- The bytes for correctedValueText to set.- Returns:
- This builder for chaining.
-
hasProvenance
public boolean hasProvenance()The history of this annotation.
.google.cloud.documentai.v1.Document.Provenance provenance = 8;- Specified by:
hasProvenancein interfaceDocument.Page.FormFieldOrBuilder- Returns:
- Whether the provenance field is set.
-
getProvenance
The history of this annotation.
.google.cloud.documentai.v1.Document.Provenance provenance = 8;- Specified by:
getProvenancein interfaceDocument.Page.FormFieldOrBuilder- Returns:
- The provenance.
-
setProvenance
The history of this annotation.
.google.cloud.documentai.v1.Document.Provenance provenance = 8; -
setProvenance
The history of this annotation.
.google.cloud.documentai.v1.Document.Provenance provenance = 8; -
mergeProvenance
The history of this annotation.
.google.cloud.documentai.v1.Document.Provenance provenance = 8; -
clearProvenance
The history of this annotation.
.google.cloud.documentai.v1.Document.Provenance provenance = 8; -
getProvenanceBuilder
The history of this annotation.
.google.cloud.documentai.v1.Document.Provenance provenance = 8; -
getProvenanceOrBuilder
The history of this annotation.
.google.cloud.documentai.v1.Document.Provenance provenance = 8;- Specified by:
getProvenanceOrBuilderin interfaceDocument.Page.FormFieldOrBuilder
-