Package com.iotics.api
Interface LiteralOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Literal,Literal.Builder
public interface LiteralOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionXSD data type (e.g.com.google.protobuf.ByteStringXSD data type (e.g.getValue()String representation of the value according to XSD datatype specificationcom.google.protobuf.ByteStringString representation of the value according to XSD datatype specificationMethods 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
-
getDataType
String getDataType()XSD data type (e.g. double) without its namespace prefix (http://www.w3.org/2001/XMLSchema#). The following types are currently supported: dateTime, time, date, boolean, integer, decimal, float, double, nonPositiveInteger, negativeInteger, nonNegativeInteger, positiveInteger, long, unsignedLong, int, unsignedInt, short, unsignedShort, byte, unsignedByte, base64Binary, anyURI
string dataType = 1;- Returns:
- The dataType.
-
getDataTypeBytes
com.google.protobuf.ByteString getDataTypeBytes()XSD data type (e.g. double) without its namespace prefix (http://www.w3.org/2001/XMLSchema#). The following types are currently supported: dateTime, time, date, boolean, integer, decimal, float, double, nonPositiveInteger, negativeInteger, nonNegativeInteger, positiveInteger, long, unsignedLong, int, unsignedInt, short, unsignedShort, byte, unsignedByte, base64Binary, anyURI
string dataType = 1;- Returns:
- The bytes for dataType.
-
getValue
String getValue()String representation of the value according to XSD datatype specification
string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()String representation of the value according to XSD datatype specification
string value = 2;- Returns:
- The bytes for value.
-