Package com.iotics.api
Interface InputMessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InputMessage,InputMessage.Builder
public interface InputMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetData()Data is the actual message, encoded according the the mime type.getMime()Mime is the mime type of the encoded data.com.google.protobuf.ByteStringMime is the mime type of the encoded data.OccurredAt is the UTC timestamp of the message.OccurredAt is the UTC timestamp of the message.booleanOccurredAt is the UTC timestamp of the message.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
-
hasOccurredAt
boolean hasOccurredAt()OccurredAt is the UTC timestamp of the message. Typically this is either the time at which an application sent this message or the time applicable to the message itself. (Optional: set to host time if not provided)
.google.protobuf.Timestamp occurredAt = 1;- Returns:
- Whether the occurredAt field is set.
-
getOccurredAt
Timestamp getOccurredAt()OccurredAt is the UTC timestamp of the message. Typically this is either the time at which an application sent this message or the time applicable to the message itself. (Optional: set to host time if not provided)
.google.protobuf.Timestamp occurredAt = 1;- Returns:
- The occurredAt.
-
getOccurredAtOrBuilder
TimestampOrBuilder getOccurredAtOrBuilder()OccurredAt is the UTC timestamp of the message. Typically this is either the time at which an application sent this message or the time applicable to the message itself. (Optional: set to host time if not provided)
.google.protobuf.Timestamp occurredAt = 1; -
getMime
String getMime()Mime is the mime type of the encoded data.
string mime = 2;- Returns:
- The mime.
-
getMimeBytes
com.google.protobuf.ByteString getMimeBytes()Mime is the mime type of the encoded data.
string mime = 2;- Returns:
- The bytes for mime.
-
getData
com.google.protobuf.ByteString getData()Data is the actual message, encoded according the the mime type. The data should follow the Input's value definitions but that is not enforced. (See also Value)
bytes data = 3;- Returns:
- The data.
-