Package com.iotics.api
Interface ValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Value,Value.Builder
public interface ValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncomment is the (optional) human-readable description of the value.com.google.protobuf.ByteStringcomment is the (optional) human-readable description of the value.dataType is the xsd type in shorthand notation.com.google.protobuf.ByteStringdataType is the xsd type in shorthand notation.getLabel()label is the unique identifier of the value.com.google.protobuf.ByteStringlabel is the unique identifier of the value.getUnit()unit is the (optional) fully qualified ontology string URI of the unit, e.g.com.google.protobuf.ByteStringunit is the (optional) fully qualified ontology string URI of the unit, e.g.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
-
getLabel
String getLabel()label is the unique identifier of the value. It is language-neutral. E.g.: "t" / "temp" / "temperature".
string label = 1;- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()label is the unique identifier of the value. It is language-neutral. E.g.: "t" / "temp" / "temperature".
string label = 1;- Returns:
- The bytes for label.
-
getComment
String getComment()comment is the (optional) human-readable description of the value. It is language-specific. E.g.: "Engine oil temperature"
string comment = 2;- Returns:
- The comment.
-
getCommentBytes
com.google.protobuf.ByteString getCommentBytes()comment is the (optional) human-readable description of the value. It is language-specific. E.g.: "Engine oil temperature"
string comment = 2;- Returns:
- The bytes for comment.
-
getUnit
String getUnit()unit is the (optional) fully qualified ontology string URI of the unit, e.g. http://purl.obolibrary.org/obo/UO_0000027
string unit = 3;- Returns:
- The unit.
-
getUnitBytes
com.google.protobuf.ByteString getUnitBytes()unit is the (optional) fully qualified ontology string URI of the unit, e.g. http://purl.obolibrary.org/obo/UO_0000027
string unit = 3;- Returns:
- The bytes for unit.
-
getDataType
String getDataType()dataType is the xsd type in shorthand notation. Currently supported types are: base64Binary, decimal, float, double, dateTime, time, date, boolean, integer, nonPositiveInteger, negativeInteger, nonNegativeInteger, positiveInteger, long, unsignedLong, int, unsignedInt, short, unsignedShort, byte, unsignedByte
string dataType = 4;- Returns:
- The dataType.
-
getDataTypeBytes
com.google.protobuf.ByteString getDataTypeBytes()dataType is the xsd type in shorthand notation. Currently supported types are: base64Binary, decimal, float, double, dateTime, time, date, boolean, integer, nonPositiveInteger, negativeInteger, nonNegativeInteger, positiveInteger, long, unsignedLong, int, unsignedInt, short, unsignedShort, byte, unsignedByte
string dataType = 4;- Returns:
- The bytes for dataType.
-