public static final class Document.Entity.NormalizedValue extends com.google.protobuf.GeneratedMessageV3 implements Document.Entity.NormalizedValueOrBuilder
Parsed and normalized entity value.Protobuf type
google.cloud.documentai.v1beta3.Document.Entity.NormalizedValue| Modifier and Type | Class and Description |
|---|---|
static class |
Document.Entity.NormalizedValue.Builder
Parsed and normalized entity value.
|
static class |
Document.Entity.NormalizedValue.StructuredValueCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_VALUE_FIELD_NUMBER |
static int |
BOOLEAN_VALUE_FIELD_NUMBER |
static int |
DATE_VALUE_FIELD_NUMBER |
static int |
DATETIME_VALUE_FIELD_NUMBER |
static int |
FLOAT_VALUE_FIELD_NUMBER |
static int |
INTEGER_VALUE_FIELD_NUMBER |
static int |
MONEY_VALUE_FIELD_NUMBER |
static int |
TEXT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.type.PostalAddress |
getAddressValue()
Postal address.
|
com.google.type.PostalAddressOrBuilder |
getAddressValueOrBuilder()
Postal address.
|
boolean |
getBooleanValue()
Boolean value.
|
com.google.type.DateTime |
getDatetimeValue()
DateTime value.
|
com.google.type.DateTimeOrBuilder |
getDatetimeValueOrBuilder()
DateTime value.
|
com.google.type.Date |
getDateValue()
Date value.
|
com.google.type.DateOrBuilder |
getDateValueOrBuilder()
Date value.
|
static Document.Entity.NormalizedValue |
getDefaultInstance() |
Document.Entity.NormalizedValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
float |
getFloatValue()
Float value.
|
int |
getIntegerValue()
Integer value.
|
com.google.type.Money |
getMoneyValue()
Money value.
|
com.google.type.MoneyOrBuilder |
getMoneyValueOrBuilder()
Money value.
|
com.google.protobuf.Parser<Document.Entity.NormalizedValue> |
getParserForType() |
int |
getSerializedSize() |
Document.Entity.NormalizedValue.StructuredValueCase |
getStructuredValueCase() |
String |
getText()
Optional.
|
com.google.protobuf.ByteString |
getTextBytes()
Optional.
|
boolean |
hasAddressValue()
Postal address.
|
boolean |
hasBooleanValue()
Boolean value.
|
boolean |
hasDatetimeValue()
DateTime value.
|
boolean |
hasDateValue()
Date value.
|
boolean |
hasFloatValue()
Float value.
|
int |
hashCode() |
boolean |
hasIntegerValue()
Integer value.
|
boolean |
hasMoneyValue()
Money value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Document.Entity.NormalizedValue.Builder |
newBuilder() |
static Document.Entity.NormalizedValue.Builder |
newBuilder(Document.Entity.NormalizedValue prototype) |
Document.Entity.NormalizedValue.Builder |
newBuilderForType() |
protected Document.Entity.NormalizedValue.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Document.Entity.NormalizedValue |
parseDelimitedFrom(InputStream input) |
static Document.Entity.NormalizedValue |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Entity.NormalizedValue |
parseFrom(byte[] data) |
static Document.Entity.NormalizedValue |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Entity.NormalizedValue |
parseFrom(ByteBuffer data) |
static Document.Entity.NormalizedValue |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Entity.NormalizedValue |
parseFrom(com.google.protobuf.ByteString data) |
static Document.Entity.NormalizedValue |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Entity.NormalizedValue |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Document.Entity.NormalizedValue |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Document.Entity.NormalizedValue |
parseFrom(InputStream input) |
static Document.Entity.NormalizedValue |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Document.Entity.NormalizedValue> |
parser() |
Document.Entity.NormalizedValue.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MONEY_VALUE_FIELD_NUMBER
public static final int DATE_VALUE_FIELD_NUMBER
public static final int DATETIME_VALUE_FIELD_NUMBER
public static final int ADDRESS_VALUE_FIELD_NUMBER
public static final int BOOLEAN_VALUE_FIELD_NUMBER
public static final int INTEGER_VALUE_FIELD_NUMBER
public static final int FLOAT_VALUE_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Document.Entity.NormalizedValue.StructuredValueCase getStructuredValueCase()
getStructuredValueCase in interface Document.Entity.NormalizedValueOrBuilderpublic boolean hasMoneyValue()
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;hasMoneyValue in interface Document.Entity.NormalizedValueOrBuilderpublic com.google.type.Money getMoneyValue()
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;getMoneyValue in interface Document.Entity.NormalizedValueOrBuilderpublic com.google.type.MoneyOrBuilder getMoneyValueOrBuilder()
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
.google.type.Money money_value = 2;getMoneyValueOrBuilder in interface Document.Entity.NormalizedValueOrBuilderpublic 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;hasDateValue in interface Document.Entity.NormalizedValueOrBuilderpublic com.google.type.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;getDateValue in interface Document.Entity.NormalizedValueOrBuilderpublic com.google.type.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;getDateValueOrBuilder in interface Document.Entity.NormalizedValueOrBuilderpublic 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;hasDatetimeValue in interface Document.Entity.NormalizedValueOrBuilderpublic com.google.type.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;getDatetimeValue in interface Document.Entity.NormalizedValueOrBuilderpublic com.google.type.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;getDatetimeValueOrBuilder in interface Document.Entity.NormalizedValueOrBuilderpublic boolean hasAddressValue()
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;hasAddressValue in interface Document.Entity.NormalizedValueOrBuilderpublic com.google.type.PostalAddress getAddressValue()
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;getAddressValue in interface Document.Entity.NormalizedValueOrBuilderpublic com.google.type.PostalAddressOrBuilder getAddressValueOrBuilder()
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
.google.type.PostalAddress address_value = 5;getAddressValueOrBuilder in interface Document.Entity.NormalizedValueOrBuilderpublic boolean hasBooleanValue()
Boolean value. Can be used for entities with binary values, or for checkboxes.
bool boolean_value = 6;hasBooleanValue in interface Document.Entity.NormalizedValueOrBuilderpublic boolean getBooleanValue()
Boolean value. Can be used for entities with binary values, or for checkboxes.
bool boolean_value = 6;getBooleanValue in interface Document.Entity.NormalizedValueOrBuilderpublic boolean hasIntegerValue()
Integer value.
int32 integer_value = 7;hasIntegerValue in interface Document.Entity.NormalizedValueOrBuilderpublic int getIntegerValue()
Integer value.
int32 integer_value = 7;getIntegerValue in interface Document.Entity.NormalizedValueOrBuilderpublic boolean hasFloatValue()
Float value.
float float_value = 8;hasFloatValue in interface Document.Entity.NormalizedValueOrBuilderpublic float getFloatValue()
Float value.
float float_value = 8;getFloatValue in interface Document.Entity.NormalizedValueOrBuilderpublic 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 `integer` 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];getText in interface Document.Entity.NormalizedValueOrBuilderpublic com.google.protobuf.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 `integer` 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];getTextBytes in interface Document.Entity.NormalizedValueOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Document.Entity.NormalizedValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Entity.NormalizedValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Entity.NormalizedValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Entity.NormalizedValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Entity.NormalizedValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Entity.NormalizedValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Document.Entity.NormalizedValue parseFrom(InputStream input) throws IOException
IOExceptionpublic static Document.Entity.NormalizedValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Document.Entity.NormalizedValue parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Document.Entity.NormalizedValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Document.Entity.NormalizedValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Document.Entity.NormalizedValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Document.Entity.NormalizedValue.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Document.Entity.NormalizedValue.Builder newBuilder()
public static Document.Entity.NormalizedValue.Builder newBuilder(Document.Entity.NormalizedValue prototype)
public Document.Entity.NormalizedValue.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Document.Entity.NormalizedValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Document.Entity.NormalizedValue getDefaultInstance()
public static com.google.protobuf.Parser<Document.Entity.NormalizedValue> parser()
public com.google.protobuf.Parser<Document.Entity.NormalizedValue> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Document.Entity.NormalizedValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.