- 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.Entity.NormalizedValue.Builder extends GeneratedMessageV3.Builder<Document.Entity.NormalizedValue.Builder> implements Document.Entity.NormalizedValueOrBuilder
Parsed and normalized entity value.
Protobuf type google.cloud.documentai.v1.Document.Entity.NormalizedValue
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Document.Entity.NormalizedValue.BuilderImplements
Document.Entity.NormalizedValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document.Entity.NormalizedValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Document.Entity.NormalizedValue.Builder |
build()
public Document.Entity.NormalizedValue build()
Type | Description |
Document.Entity.NormalizedValue |
buildPartial()
public Document.Entity.NormalizedValue buildPartial()
Type | Description |
Document.Entity.NormalizedValue |
clear()
public Document.Entity.NormalizedValue.Builder clear()
Type | Description |
Document.Entity.NormalizedValue.Builder |
clearAddressValue()
public Document.Entity.NormalizedValue.Builder clearAddressValue()
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;
Type | Description |
Document.Entity.NormalizedValue.Builder |
clearBooleanValue()
public Document.Entity.NormalizedValue.Builder clearBooleanValue()
Boolean value. Can be used for entities with binary values, or for checkboxes.
bool boolean_value = 6;
Type | Description |
Document.Entity.NormalizedValue.Builder | This builder for chaining. |
clearDateValue()
public Document.Entity.NormalizedValue.Builder clearDateValue()
Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
.google.type.Date date_value = 3;
Type | Description |
Document.Entity.NormalizedValue.Builder |
clearDatetimeValue()
public Document.Entity.NormalizedValue.Builder clearDatetimeValue()
DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
.google.type.DateTime datetime_value = 4;
Type | Description |
Document.Entity.NormalizedValue.Builder |
clearField(Descriptors.FieldDescriptor field)
public Document.Entity.NormalizedValue.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Document.Entity.NormalizedValue.Builder |
clearMoneyValue()
public Document.Entity.NormalizedValue.Builder clearMoneyValue()
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;
Type | Description |
Document.Entity.NormalizedValue.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Document.Entity.NormalizedValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Document.Entity.NormalizedValue.Builder |
clearStructuredValue()
public Document.Entity.NormalizedValue.Builder clearStructuredValue()
Type | Description |
Document.Entity.NormalizedValue.Builder |
clearText()
public Document.Entity.NormalizedValue.Builder clearText()
Optional. An optional field to store a normalized string.
For some entity types, one of respective structured_value
fields may
also be populated. Also not all the types of structured_value
will be
normalized. For example, some processors may not generate float
or int normalized text by default.
Below are sample formats mapped to structured values.
- Money/Currency type (
money_value
) is in the ISO 4217 text format. - Date type (
date_value
) is in the ISO 8601 text format. - Datetime type (
datetime_value
) is in the ISO 8601 text format.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Document.Entity.NormalizedValue.Builder | This builder for chaining. |
clone()
public Document.Entity.NormalizedValue.Builder clone()
Type | Description |
Document.Entity.NormalizedValue.Builder |
getAddressValue()
public PostalAddress getAddressValue()
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;
Type | Description |
com.google.type.PostalAddress | The addressValue. |
getAddressValueBuilder()
public PostalAddress.Builder getAddressValueBuilder()
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;
Type | Description |
com.google.type.PostalAddress.Builder |
getAddressValueOrBuilder()
public PostalAddressOrBuilder getAddressValueOrBuilder()
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;
Type | Description |
com.google.type.PostalAddressOrBuilder |
getBooleanValue()
public boolean getBooleanValue()
Boolean value. Can be used for entities with binary values, or for checkboxes.
bool boolean_value = 6;
Type | Description |
boolean | The booleanValue. |
getDateValue()
public Date getDateValue()
Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
.google.type.Date date_value = 3;
Type | Description |
com.google.type.Date | The dateValue. |
getDateValueBuilder()
public Date.Builder getDateValueBuilder()
Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
.google.type.Date date_value = 3;
Type | Description |
com.google.type.Date.Builder |
getDateValueOrBuilder()
public DateOrBuilder getDateValueOrBuilder()
Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
.google.type.Date date_value = 3;
Type | Description |
com.google.type.DateOrBuilder |
getDatetimeValue()
public DateTime getDatetimeValue()
DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
.google.type.DateTime datetime_value = 4;
Type | Description |
com.google.type.DateTime | The datetimeValue. |
getDatetimeValueBuilder()
public DateTime.Builder getDatetimeValueBuilder()
DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
.google.type.DateTime datetime_value = 4;
Type | Description |
com.google.type.DateTime.Builder |
getDatetimeValueOrBuilder()
public DateTimeOrBuilder getDatetimeValueOrBuilder()
DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
.google.type.DateTime datetime_value = 4;
Type | Description |
com.google.type.DateTimeOrBuilder |
getDefaultInstanceForType()
public Document.Entity.NormalizedValue getDefaultInstanceForType()
Type | Description |
Document.Entity.NormalizedValue |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMoneyValue()
public Money getMoneyValue()
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;
Type | Description |
com.google.type.Money | The moneyValue. |
getMoneyValueBuilder()
public Money.Builder getMoneyValueBuilder()
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;
Type | Description |
com.google.type.Money.Builder |
getMoneyValueOrBuilder()
public MoneyOrBuilder getMoneyValueOrBuilder()
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;
Type | Description |
com.google.type.MoneyOrBuilder |
getStructuredValueCase()
public Document.Entity.NormalizedValue.StructuredValueCase getStructuredValueCase()
Type | Description |
Document.Entity.NormalizedValue.StructuredValueCase |
getText()
public String getText()
Optional. An optional field to store a normalized string.
For some entity types, one of respective structured_value
fields may
also be populated. Also not all the types of structured_value
will be
normalized. For example, some processors may not generate float
or int normalized text by default.
Below are sample formats mapped to structured values.
- Money/Currency type (
money_value
) is in the ISO 4217 text format. - Date type (
date_value
) is in the ISO 8601 text format. - Datetime type (
datetime_value
) is in the ISO 8601 text format.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The text. |
getTextBytes()
public ByteString getTextBytes()
Optional. An optional field to store a normalized string.
For some entity types, one of respective structured_value
fields may
also be populated. Also not all the types of structured_value
will be
normalized. For example, some processors may not generate float
or int normalized text by default.
Below are sample formats mapped to structured values.
- Money/Currency type (
money_value
) is in the ISO 4217 text format. - Date type (
date_value
) is in the ISO 8601 text format. - Datetime type (
datetime_value
) is in the ISO 8601 text format.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for text. |
hasAddressValue()
public boolean hasAddressValue()
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;
Type | Description |
boolean | Whether the addressValue field is set. |
hasBooleanValue()
public boolean hasBooleanValue()
Boolean value. Can be used for entities with binary values, or for checkboxes.
bool boolean_value = 6;
Type | Description |
boolean | Whether the booleanValue field is set. |
hasDateValue()
public boolean hasDateValue()
Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
.google.type.Date date_value = 3;
Type | Description |
boolean | Whether the dateValue field is set. |
hasDatetimeValue()
public boolean hasDatetimeValue()
DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
.google.type.DateTime datetime_value = 4;
Type | Description |
boolean | Whether the datetimeValue field is set. |
hasMoneyValue()
public boolean hasMoneyValue()
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;
Type | Description |
boolean | Whether the moneyValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAddressValue(PostalAddress value)
public Document.Entity.NormalizedValue.Builder mergeAddressValue(PostalAddress value)
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;
Name | Description |
value | com.google.type.PostalAddress |
Type | Description |
Document.Entity.NormalizedValue.Builder |
mergeDateValue(Date value)
public Document.Entity.NormalizedValue.Builder mergeDateValue(Date value)
Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
.google.type.Date date_value = 3;
Name | Description |
value | com.google.type.Date |
Type | Description |
Document.Entity.NormalizedValue.Builder |
mergeDatetimeValue(DateTime value)
public Document.Entity.NormalizedValue.Builder mergeDatetimeValue(DateTime value)
DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
.google.type.DateTime datetime_value = 4;
Name | Description |
value | com.google.type.DateTime |
Type | Description |
Document.Entity.NormalizedValue.Builder |
mergeFrom(Document.Entity.NormalizedValue other)
public Document.Entity.NormalizedValue.Builder mergeFrom(Document.Entity.NormalizedValue other)
Name | Description |
other | Document.Entity.NormalizedValue |
Type | Description |
Document.Entity.NormalizedValue.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Document.Entity.NormalizedValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Document.Entity.NormalizedValue.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Document.Entity.NormalizedValue.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Document.Entity.NormalizedValue.Builder |
mergeMoneyValue(Money value)
public Document.Entity.NormalizedValue.Builder mergeMoneyValue(Money value)
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;
Name | Description |
value | com.google.type.Money |
Type | Description |
Document.Entity.NormalizedValue.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document.Entity.NormalizedValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Document.Entity.NormalizedValue.Builder |
setAddressValue(PostalAddress value)
public Document.Entity.NormalizedValue.Builder setAddressValue(PostalAddress value)
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;
Name | Description |
value | com.google.type.PostalAddress |
Type | Description |
Document.Entity.NormalizedValue.Builder |
setAddressValue(PostalAddress.Builder builderForValue)
public Document.Entity.NormalizedValue.Builder setAddressValue(PostalAddress.Builder builderForValue)
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;
Name | Description |
builderForValue | com.google.type.PostalAddress.Builder |
Type | Description |
Document.Entity.NormalizedValue.Builder |
setBooleanValue(boolean value)
public Document.Entity.NormalizedValue.Builder setBooleanValue(boolean value)
Boolean value. Can be used for entities with binary values, or for checkboxes.
bool boolean_value = 6;
Name | Description |
value | boolean The booleanValue to set. |
Type | Description |
Document.Entity.NormalizedValue.Builder | This builder for chaining. |
setDateValue(Date value)
public Document.Entity.NormalizedValue.Builder setDateValue(Date value)
Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
.google.type.Date date_value = 3;
Name | Description |
value | com.google.type.Date |
Type | Description |
Document.Entity.NormalizedValue.Builder |
setDateValue(Date.Builder builderForValue)
public Document.Entity.NormalizedValue.Builder setDateValue(Date.Builder builderForValue)
Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
.google.type.Date date_value = 3;
Name | Description |
builderForValue | com.google.type.Date.Builder |
Type | Description |
Document.Entity.NormalizedValue.Builder |
setDatetimeValue(DateTime value)
public Document.Entity.NormalizedValue.Builder setDatetimeValue(DateTime value)
DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
.google.type.DateTime datetime_value = 4;
Name | Description |
value | com.google.type.DateTime |
Type | Description |
Document.Entity.NormalizedValue.Builder |
setDatetimeValue(DateTime.Builder builderForValue)
public Document.Entity.NormalizedValue.Builder setDatetimeValue(DateTime.Builder builderForValue)
DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
.google.type.DateTime datetime_value = 4;
Name | Description |
builderForValue | com.google.type.DateTime.Builder |
Type | Description |
Document.Entity.NormalizedValue.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Document.Entity.NormalizedValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Document.Entity.NormalizedValue.Builder |
setMoneyValue(Money value)
public Document.Entity.NormalizedValue.Builder setMoneyValue(Money value)
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;
Name | Description |
value | com.google.type.Money |
Type | Description |
Document.Entity.NormalizedValue.Builder |
setMoneyValue(Money.Builder builderForValue)
public Document.Entity.NormalizedValue.Builder setMoneyValue(Money.Builder builderForValue)
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;
Name | Description |
builderForValue | com.google.type.Money.Builder |
Type | Description |
Document.Entity.NormalizedValue.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document.Entity.NormalizedValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Document.Entity.NormalizedValue.Builder |
setText(String value)
public Document.Entity.NormalizedValue.Builder setText(String value)
Optional. An optional field to store a normalized string.
For some entity types, one of respective structured_value
fields may
also be populated. Also not all the types of structured_value
will be
normalized. For example, some processors may not generate float
or int normalized text by default.
Below are sample formats mapped to structured values.
- Money/Currency type (
money_value
) is in the ISO 4217 text format. - Date type (
date_value
) is in the ISO 8601 text format. - Datetime type (
datetime_value
) is in the ISO 8601 text format.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The text to set. |
Type | Description |
Document.Entity.NormalizedValue.Builder | This builder for chaining. |
setTextBytes(ByteString value)
public Document.Entity.NormalizedValue.Builder setTextBytes(ByteString value)
Optional. An optional field to store a normalized string.
For some entity types, one of respective structured_value
fields may
also be populated. Also not all the types of structured_value
will be
normalized. For example, some processors may not generate float
or int normalized text by default.
Below are sample formats mapped to structured values.
- Money/Currency type (
money_value
) is in the ISO 4217 text format. - Date type (
date_value
) is in the ISO 8601 text format. - Datetime type (
datetime_value
) is in the ISO 8601 text format.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for text to set. |
Type | Description |
Document.Entity.NormalizedValue.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Document.Entity.NormalizedValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Document.Entity.NormalizedValue.Builder |