public static final class Document.Page.FormField.Builder extends GeneratedMessageV3.Builder<Document.Page.FormField.Builder> implements Document.Page.FormFieldOrBuilder
A form field detected on the page.
Protobuf type google.cloud.documentai.v1beta1.Document.Page.FormField
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllNameDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values)
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.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage>
|
addAllValueDetectedLanguages(Iterable<? extends Document.Page.DetectedLanguage> values)
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.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage>
|
addNameDetectedLanguages(Document.Page.DetectedLanguage value)
public Document.Page.FormField.Builder addNameDetectedLanguages(Document.Page.DetectedLanguage value)
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
addNameDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)
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.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
addNameDetectedLanguages(int index, Document.Page.DetectedLanguage value)
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.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
addNameDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
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.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
addNameDetectedLanguagesBuilder()
public Document.Page.DetectedLanguage.Builder addNameDetectedLanguagesBuilder()
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
addNameDetectedLanguagesBuilder(int index)
public Document.Page.DetectedLanguage.Builder addNameDetectedLanguagesBuilder(int index)
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.FormField.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addValueDetectedLanguages(Document.Page.DetectedLanguage value)
public Document.Page.FormField.Builder addValueDetectedLanguages(Document.Page.DetectedLanguage value)
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
addValueDetectedLanguages(Document.Page.DetectedLanguage.Builder builderForValue)
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.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
addValueDetectedLanguages(int index, Document.Page.DetectedLanguage value)
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.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
addValueDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
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.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
addValueDetectedLanguagesBuilder()
public Document.Page.DetectedLanguage.Builder addValueDetectedLanguagesBuilder()
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
addValueDetectedLanguagesBuilder(int index)
public Document.Page.DetectedLanguage.Builder addValueDetectedLanguagesBuilder(int index)
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
Parameter |
Name |
Description |
index |
int
|
build()
public Document.Page.FormField build()
buildPartial()
public Document.Page.FormField buildPartial()
clear()
public Document.Page.FormField.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Document.Page.FormField.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFieldName()
public Document.Page.FormField.Builder clearFieldName()
Layout for the
FormField
name. e.g. Address
, Email
, Grand total
, Phone number
, etc.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_name = 1;
clearFieldValue()
public Document.Page.FormField.Builder clearFieldValue()
Layout for the
FormField
value.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_value = 2;
clearNameDetectedLanguages()
public Document.Page.FormField.Builder clearNameDetectedLanguages()
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.Page.FormField.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValueDetectedLanguages()
public Document.Page.FormField.Builder clearValueDetectedLanguages()
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
clone()
public Document.Page.FormField.Builder clone()
Overrides
getDefaultInstanceForType()
public Document.Page.FormField getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFieldName()
public Document.Page.Layout getFieldName()
Layout for the
FormField
name. e.g. Address
, Email
, Grand total
, Phone number
, etc.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_name = 1;
getFieldNameBuilder()
public Document.Page.Layout.Builder getFieldNameBuilder()
Layout for the
FormField
name. e.g. Address
, Email
, Grand total
, Phone number
, etc.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_name = 1;
getFieldNameOrBuilder()
public Document.Page.LayoutOrBuilder getFieldNameOrBuilder()
Layout for the
FormField
name. e.g. Address
, Email
, Grand total
, Phone number
, etc.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_name = 1;
getFieldValue()
public Document.Page.Layout getFieldValue()
Layout for the
FormField
value.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_value = 2;
getFieldValueBuilder()
public Document.Page.Layout.Builder getFieldValueBuilder()
Layout for the
FormField
value.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_value = 2;
getFieldValueOrBuilder()
public Document.Page.LayoutOrBuilder getFieldValueOrBuilder()
Layout for the
FormField
value.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_value = 2;
getNameDetectedLanguages(int index)
public Document.Page.DetectedLanguage getNameDetectedLanguages(int index)
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
Parameter |
Name |
Description |
index |
int
|
getNameDetectedLanguagesBuilder(int index)
public Document.Page.DetectedLanguage.Builder getNameDetectedLanguagesBuilder(int index)
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
Parameter |
Name |
Description |
index |
int
|
getNameDetectedLanguagesBuilderList()
public List<Document.Page.DetectedLanguage.Builder> getNameDetectedLanguagesBuilderList()
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
getNameDetectedLanguagesCount()
public int getNameDetectedLanguagesCount()
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
Returns |
Type |
Description |
int |
|
getNameDetectedLanguagesList()
public List<Document.Page.DetectedLanguage> getNameDetectedLanguagesList()
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
getNameDetectedLanguagesOrBuilder(int index)
public Document.Page.DetectedLanguageOrBuilder getNameDetectedLanguagesOrBuilder(int index)
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
Parameter |
Name |
Description |
index |
int
|
getNameDetectedLanguagesOrBuilderList()
public List<? extends Document.Page.DetectedLanguageOrBuilder> getNameDetectedLanguagesOrBuilderList()
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
Returns |
Type |
Description |
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.DetectedLanguageOrBuilder> |
|
getValueDetectedLanguages(int index)
public Document.Page.DetectedLanguage getValueDetectedLanguages(int index)
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
Parameter |
Name |
Description |
index |
int
|
getValueDetectedLanguagesBuilder(int index)
public Document.Page.DetectedLanguage.Builder getValueDetectedLanguagesBuilder(int index)
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
Parameter |
Name |
Description |
index |
int
|
getValueDetectedLanguagesBuilderList()
public List<Document.Page.DetectedLanguage.Builder> getValueDetectedLanguagesBuilderList()
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
getValueDetectedLanguagesCount()
public int getValueDetectedLanguagesCount()
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
Returns |
Type |
Description |
int |
|
getValueDetectedLanguagesList()
public List<Document.Page.DetectedLanguage> getValueDetectedLanguagesList()
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
getValueDetectedLanguagesOrBuilder(int index)
public Document.Page.DetectedLanguageOrBuilder getValueDetectedLanguagesOrBuilder(int index)
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
Parameter |
Name |
Description |
index |
int
|
getValueDetectedLanguagesOrBuilderList()
public List<? extends Document.Page.DetectedLanguageOrBuilder> getValueDetectedLanguagesOrBuilderList()
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
Returns |
Type |
Description |
List<? extends com.google.cloud.documentai.v1beta1.Document.Page.DetectedLanguageOrBuilder> |
|
hasFieldName()
public boolean hasFieldName()
Layout for the
FormField
name. e.g. Address
, Email
, Grand total
, Phone number
, etc.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_name = 1;
Returns |
Type |
Description |
boolean |
Whether the fieldName field is set.
|
hasFieldValue()
public boolean hasFieldValue()
Layout for the
FormField
value.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_value = 2;
Returns |
Type |
Description |
boolean |
Whether the fieldValue field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFieldName(Document.Page.Layout value)
public Document.Page.FormField.Builder mergeFieldName(Document.Page.Layout value)
Layout for the
FormField
name. e.g. Address
, Email
, Grand total
, Phone number
, etc.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_name = 1;
mergeFieldValue(Document.Page.Layout value)
public Document.Page.FormField.Builder mergeFieldValue(Document.Page.Layout value)
Layout for the
FormField
value.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_value = 2;
mergeFrom(Document.Page.FormField other)
public Document.Page.FormField.Builder mergeFrom(Document.Page.FormField other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.Page.FormField.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Document.Page.FormField.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.FormField.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNameDetectedLanguages(int index)
public Document.Page.FormField.Builder removeNameDetectedLanguages(int index)
A list of detected languages for name together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
Parameter |
Name |
Description |
index |
int
|
removeValueDetectedLanguages(int index)
public Document.Page.FormField.Builder removeValueDetectedLanguages(int index)
A list of detected languages for value together with confidence.
repeated .google.cloud.documentai.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Document.Page.FormField.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFieldName(Document.Page.Layout value)
public Document.Page.FormField.Builder setFieldName(Document.Page.Layout value)
Layout for the
FormField
name. e.g. Address
, Email
, Grand total
, Phone number
, etc.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_name = 1;
setFieldName(Document.Page.Layout.Builder builderForValue)
public Document.Page.FormField.Builder setFieldName(Document.Page.Layout.Builder builderForValue)
Layout for the
FormField
name. e.g. Address
, Email
, Grand total
, Phone number
, etc.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_name = 1;
setFieldValue(Document.Page.Layout value)
public Document.Page.FormField.Builder setFieldValue(Document.Page.Layout value)
Layout for the
FormField
value.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_value = 2;
setFieldValue(Document.Page.Layout.Builder builderForValue)
public Document.Page.FormField.Builder setFieldValue(Document.Page.Layout.Builder builderForValue)
Layout for the
FormField
value.
.google.cloud.documentai.v1beta1.Document.Page.Layout field_value = 2;
setNameDetectedLanguages(int index, Document.Page.DetectedLanguage value)
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.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
setNameDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
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.v1beta1.Document.Page.DetectedLanguage name_detected_languages = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.Page.FormField.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.Page.FormField.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValueDetectedLanguages(int index, Document.Page.DetectedLanguage value)
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.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;
setValueDetectedLanguages(int index, Document.Page.DetectedLanguage.Builder builderForValue)
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.v1beta1.Document.Page.DetectedLanguage value_detected_languages = 4;