Package com.iotics.api
Interface FeedDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FeedData,FeedData.Builder
public interface FeedDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetData()data is the actual set of datapoints, 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 sample.occurredAt is the UTC timestamp of the sample.booleanoccurredAt is the UTC timestamp of the sample.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 sample. Typically this is either the time at which an application shared this sample or the time applicable to the sample itself (such as an hourly weather observation). (Optional: set to host time if not provided)
.google.protobuf.Timestamp occurredAt = 2;- Returns:
- Whether the occurredAt field is set.
-
getOccurredAt
Timestamp getOccurredAt()occurredAt is the UTC timestamp of the sample. Typically this is either the time at which an application shared this sample or the time applicable to the sample itself (such as an hourly weather observation). (Optional: set to host time if not provided)
.google.protobuf.Timestamp occurredAt = 2;- Returns:
- The occurredAt.
-
getOccurredAtOrBuilder
TimestampOrBuilder getOccurredAtOrBuilder()occurredAt is the UTC timestamp of the sample. Typically this is either the time at which an application shared this sample or the time applicable to the sample itself (such as an hourly weather observation). (Optional: set to host time if not provided)
.google.protobuf.Timestamp occurredAt = 2; -
getMime
String getMime()mime is the mime type of the encoded data.
string mime = 3;- Returns:
- The mime.
-
getMimeBytes
com.google.protobuf.ByteString getMimeBytes()mime is the mime type of the encoded data.
string mime = 3;- Returns:
- The bytes for mime.
-
getData
com.google.protobuf.ByteString getData()data is the actual set of datapoints, encoded according the the mime type. The data should follow the Feed's value definitions but that is not enforced. (See also Value)
bytes data = 4;- Returns:
- The data.
-