Package dev.enola.thing.proto
Interface Value.LiteralOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Value.Literal,Value.Literal.Builder
- Enclosing class:
Value
-
Method Summary
Modifier and TypeMethodDescriptionThis is an IRI.com.google.protobuf.ByteStringThis is an IRI.getValue()Value of the literal.com.google.protobuf.ByteStringValue of the literal.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getValue
Value of the literal. This is "encoded" by the datatype, below. (RDF calls this the "label", but to us that sounds wrong, because it evokes "something to show human users" too much.)
string value = 1;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()Value of the literal. This is "encoded" by the datatype, below. (RDF calls this the "label", but to us that sounds wrong, because it evokes "something to show human users" too much.)
string value = 1;- Returns:
- The bytes for value.
-
getDatatype
This is an IRI.
string datatype = 2;- Returns:
- The datatype.
-
getDatatypeBytes
com.google.protobuf.ByteString getDatatypeBytes()This is an IRI.
string datatype = 2;- Returns:
- The bytes for datatype.
-