Interface ThingOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Thing, Thing.Builder

@Generated public interface ThingOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Key string is an IRI (of a "property").
    The IRI is often only set on the "top outer most", and may well be unset for things "contained" in other things (RDF calls this "blank nodes").
    com.google.protobuf.ByteString
    The IRI is often only set on the "top outer most", and may well be unset for things "contained" in other things (RDF calls this "blank nodes").
    Deprecated.
    int
    Key string is an IRI (of a "property").
    Key string is an IRI (of a "property").
    getPropertiesOrDefault(String key, Value defaultValue)
    Key string is an IRI (of a "property").
    Key string is an IRI (of a "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 Details

    • getIri

       The IRI is often only set on the "top outer most", and may well be unset
       for things "contained" in other things (RDF calls this "blank nodes"). It's
       not even mandatory required for the "top outer most" one either.
       (TODO Why do we even need this?! Why not just use an
       https://schema.org/identifier field/attribute?)
       
      string iri = 1;
      Returns:
      The iri.
    • getIriBytes

      com.google.protobuf.ByteString getIriBytes()
       The IRI is often only set on the "top outer most", and may well be unset
       for things "contained" in other things (RDF calls this "blank nodes"). It's
       not even mandatory required for the "top outer most" one either.
       (TODO Why do we even need this?! Why not just use an
       https://schema.org/identifier field/attribute?)
       
      string iri = 1;
      Returns:
      The bytes for iri.
    • getPropertiesCount

       Key string is an IRI (of a "property"). Nota Bene: This is never a “name”
       (or even a “label”), but really an IRI. In theory such a Property IRI could
       be unique to only this single Thing; more typically, it is shared among
       things of the same type. Crucially though, it could also be an IRI of a
       property that is common among attributes of *different* types! Classic
       examples are e.g. https://schema.org/name (rdfs:label 🏷️) or rdf:type.
       
      map<string, .dev.enola.thing.Value> properties = 2;
    • containsProperties

      boolean containsProperties(String key)
       Key string is an IRI (of a "property"). Nota Bene: This is never a “name”
       (or even a “label”), but really an IRI. In theory such a Property IRI could
       be unique to only this single Thing; more typically, it is shared among
       things of the same type. Crucially though, it could also be an IRI of a
       property that is common among attributes of *different* types! Classic
       examples are e.g. https://schema.org/name (rdfs:label 🏷️) or rdf:type.
       
      map<string, .dev.enola.thing.Value> properties = 2;
    • getProperties

      Deprecated.
      Use getPropertiesMap() instead.
    • getPropertiesMap

       Key string is an IRI (of a "property"). Nota Bene: This is never a “name”
       (or even a “label”), but really an IRI. In theory such a Property IRI could
       be unique to only this single Thing; more typically, it is shared among
       things of the same type. Crucially though, it could also be an IRI of a
       property that is common among attributes of *different* types! Classic
       examples are e.g. https://schema.org/name (rdfs:label 🏷️) or rdf:type.
       
      map<string, .dev.enola.thing.Value> properties = 2;
    • getPropertiesOrDefault

       Key string is an IRI (of a "property"). Nota Bene: This is never a “name”
       (or even a “label”), but really an IRI. In theory such a Property IRI could
       be unique to only this single Thing; more typically, it is shared among
       things of the same type. Crucially though, it could also be an IRI of a
       property that is common among attributes of *different* types! Classic
       examples are e.g. https://schema.org/name (rdfs:label 🏷️) or rdf:type.
       
      map<string, .dev.enola.thing.Value> properties = 2;
    • getPropertiesOrThrow

       Key string is an IRI (of a "property"). Nota Bene: This is never a “name”
       (or even a “label”), but really an IRI. In theory such a Property IRI could
       be unique to only this single Thing; more typically, it is shared among
       things of the same type. Crucially though, it could also be an IRI of a
       property that is common among attributes of *different* types! Classic
       examples are e.g. https://schema.org/name (rdfs:label 🏷️) or rdf:type.
       
      map<string, .dev.enola.thing.Value> properties = 2;