public static final class DocumentSchema.EntityType.Property extends GeneratedMessageV3 implements DocumentSchema.EntityType.PropertyOrBuilder
Defines properties that can be part of the entity type.
Protobuf type google.cloud.documentai.v1beta3.DocumentSchema.EntityType.Property
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OCCURRENCE_TYPE_FIELD_NUMBER
public static final int OCCURRENCE_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PROPERTY_METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VALUE_TYPE_FIELD_NUMBER
public static final int VALUE_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DocumentSchema.EntityType.Property getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DocumentSchema.EntityType.Property.Builder newBuilder()
newBuilder(DocumentSchema.EntityType.Property prototype)
public static DocumentSchema.EntityType.Property.Builder newBuilder(DocumentSchema.EntityType.Property prototype)
public static DocumentSchema.EntityType.Property parseDelimitedFrom(InputStream input)
public static DocumentSchema.EntityType.Property parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DocumentSchema.EntityType.Property parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DocumentSchema.EntityType.Property parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DocumentSchema.EntityType.Property parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DocumentSchema.EntityType.Property parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DocumentSchema.EntityType.Property parseFrom(CodedInputStream input)
public static DocumentSchema.EntityType.Property parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DocumentSchema.EntityType.Property parseFrom(InputStream input)
public static DocumentSchema.EntityType.Property parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DocumentSchema.EntityType.Property parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DocumentSchema.EntityType.Property parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DocumentSchema.EntityType.Property> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DocumentSchema.EntityType.Property getDefaultInstanceForType()
getDisplayName()
public String getDisplayName()
User defined name for the property.
string display_name = 6;
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
User defined name for the property.
string display_name = 6;
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getName()
The name of the property. Follows the same guidelines as the
EntityType name.
string name = 1;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
The name of the property. Follows the same guidelines as the
EntityType name.
string name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getOccurrenceType()
public DocumentSchema.EntityType.Property.OccurrenceType getOccurrenceType()
Occurrence type limits the number of instances an entity type appears
in the document.
.google.cloud.documentai.v1beta3.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
getOccurrenceTypeValue()
public int getOccurrenceTypeValue()
Occurrence type limits the number of instances an entity type appears
in the document.
.google.cloud.documentai.v1beta3.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for occurrenceType.
|
getParserForType()
public Parser<DocumentSchema.EntityType.Property> getParserForType()
Overrides
public PropertyMetadata getPropertyMetadata()
Any additional metadata about the property can be added here.
.google.cloud.documentai.v1beta3.PropertyMetadata property_metadata = 5;
public PropertyMetadataOrBuilder getPropertyMetadataOrBuilder()
Any additional metadata about the property can be added here.
.google.cloud.documentai.v1beta3.PropertyMetadata property_metadata = 5;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getValueType()
public String getValueType()
A reference to the value type of the property. This type is subject
to the same conventions as the Entity.base_types
field.
string value_type = 2;
Returns |
Type |
Description |
String |
The valueType.
|
getValueTypeBytes()
public ByteString getValueTypeBytes()
A reference to the value type of the property. This type is subject
to the same conventions as the Entity.base_types
field.
string value_type = 2;
Returns |
Type |
Description |
ByteString |
The bytes for valueType.
|
public boolean hasPropertyMetadata()
Any additional metadata about the property can be added here.
.google.cloud.documentai.v1beta3.PropertyMetadata property_metadata = 5;
Returns |
Type |
Description |
boolean |
Whether the propertyMetadata field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DocumentSchema.EntityType.Property.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DocumentSchema.EntityType.Property.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DocumentSchema.EntityType.Property.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides