Interface DocumentSchema.EntityType.PropertyOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      The name of the property.
      com.google.protobuf.ByteString getNameBytes()
      The name of the property.
      DocumentSchema.EntityType.Property.OccurrenceType getOccurrenceType()
      Occurrence type limits the number of instances an entity type appears in the document.
      int getOccurrenceTypeValue()
      Occurrence type limits the number of instances an entity type appears in the document.
      String getValueType()
      A reference to the value type of the property.
      com.google.protobuf.ByteString getValueTypeBytes()
      A reference to the value type of the property.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getName

        String getName()
         The name of the property.  Follows the same guidelines as the
         EntityType name.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the property.  Follows the same guidelines as the
         EntityType name.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getValueType

        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:
        The valueType.
      • getValueTypeBytes

        com.google.protobuf.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:
        The bytes for valueType.
      • getOccurrenceTypeValue

        int getOccurrenceTypeValue()
         Occurrence type limits the number of instances an entity type appears
         in the document.
         
        .google.cloud.documentai.v1.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
        Returns:
        The enum numeric value on the wire for occurrenceType.
      • getOccurrenceType

        DocumentSchema.EntityType.Property.OccurrenceType getOccurrenceType()
         Occurrence type limits the number of instances an entity type appears
         in the document.
         
        .google.cloud.documentai.v1.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
        Returns:
        The occurrenceType.