public sealed class NormalizedValue : IMessage<Document.Types.Entity.Types.NormalizedValue>, IEquatable<Document.Types.Entity.Types.NormalizedValue>, IDeepCloneable<Document.Types.Entity.Types.NormalizedValue>, IBufferMessage, IMessage
Parsed and normalized entity value.
Implements
IMessage<Document.Types.Entity.Types.NormalizedValue>, IEquatable<Document.Types.Entity.Types.NormalizedValue>, IDeepCloneable<Document.Types.Entity.Types.NormalizedValue>, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
NormalizedValue()
public NormalizedValue()
NormalizedValue(Document.Types.Entity.Types.NormalizedValue)
public NormalizedValue(Document.Types.Entity.Types.NormalizedValue other)
Parameter | |
---|---|
Name | Description |
other | Document.Types.Entity.Types.NormalizedValue |
Properties
AddressValue
public PostalAddress AddressValue { get; set; }
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
Property Value | |
---|---|
Type | Description |
PostalAddress |
BooleanValue
public bool BooleanValue { get; set; }
Boolean value. Can be used for entities with binary values, or for checkboxes.
Property Value | |
---|---|
Type | Description |
Boolean |
DatetimeValue
public DateTime DatetimeValue { get; set; }
DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
Property Value | |
---|---|
Type | Description |
DateTime |
DateValue
public Date DateValue { get; set; }
Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
Property Value | |
---|---|
Type | Description |
Date |
FloatValue
public float FloatValue { get; set; }
Float value.
Property Value | |
---|---|
Type | Description |
Single |
IntegerValue
public int IntegerValue { get; set; }
Integer value.
Property Value | |
---|---|
Type | Description |
Int32 |
MoneyValue
public Money MoneyValue { get; set; }
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
Property Value | |
---|---|
Type | Description |
Money |
StructuredValueCase
public Document.Types.Entity.Types.NormalizedValue.StructuredValueOneofCase StructuredValueCase { get; }
Property Value | |
---|---|
Type | Description |
Document.Types.Entity.Types.NormalizedValue.StructuredValueOneofCase |
Text
public string Text { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |