-
- All Implemented Interfaces:
-
com.doorstepai.sdks.tracking.proto.StreamColumnOrBuilder,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder
public final class StreamColumn extends GeneratedMessageLite<StreamColumn, StreamColumn.Builder> implements StreamColumnOrBuilder
Protobuf type
{@code doorstepai.telemetry.v3.StreamColumn}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classStreamColumn.BuilderProtobuf type
{@code doorstepai.telemetry.v3.StreamColumn}
-
Field Summary
Fields Modifier and Type Field Description public final static intSTREAM_ID_FIELD_NUMBERpublic final static intSAMPLE_COUNT_FIELD_NUMBERpublic final static intSENSOR_ORIGIN_US_FIELD_NUMBERpublic final static intWALL_ORIGIN_MS_FIELD_NUMBERpublic final static intCOLUMNS_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description intgetStreamId()Stream identity — see the registry below. Shared ids with iOS DSDP where they overlap (accel=2, gyro=3, mag=4, altitude=5, location=6); iOS-only ids 0/1/7/8 are reserved and never emitted by Android.uint32 stream_id = 1;intgetSampleCount()Number of samples represented by every column in this stream.uint32 sample_count = 2;longgetSensorOriginUs()Absolute boot-relative origin (microseconds) of the first sample — the reference for the timestamp column (channel_id 0).int64 sensor_origin_us = 3;longgetWallOriginMs()Wall-clock (epoch ms) of the first sample. Together with sensor_origin_us this lets the server reconstruct per-sample wall time from the boot-relative timestamp column WITHOUT a per-sample wall-clock column: wall_ms(i) = wall_origin_ms + (sensor_us(i) - sensor_origin_us) / 1000int64 wall_origin_ms = 4;List<ColumnData>getColumnsList()One per channel. channel_id 0 is always the timestamp column; 1..N are the value channels in the order documented in the registry below.repeated .doorstepai.telemetry.v3.ColumnData columns = 5;List<out ColumnDataOrBuilder>getColumnsOrBuilderList()One per channel. channel_id 0 is always the timestamp column; 1..N are the value channels in the order documented in the registry below.repeated .doorstepai.telemetry.v3.ColumnData columns = 5;intgetColumnsCount()One per channel. channel_id 0 is always the timestamp column; 1..N are the value channels in the order documented in the registry below.repeated .doorstepai.telemetry.v3.ColumnData columns = 5;ColumnDatagetColumns(int index)One per channel. channel_id 0 is always the timestamp column; 1..N are the value channels in the order documented in the registry below.repeated .doorstepai.telemetry.v3.ColumnData columns = 5;ColumnDataOrBuildergetColumnsOrBuilder(int index)One per channel. channel_id 0 is always the timestamp column; 1..N are the value channels in the order documented in the registry below.repeated .doorstepai.telemetry.v3.ColumnData columns = 5;static StreamColumnparseFrom(ByteBuffer data)static StreamColumnparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static StreamColumnparseFrom(ByteString data)static StreamColumnparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static StreamColumnparseFrom(Array<byte> data)static StreamColumnparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static StreamColumnparseFrom(InputStream input)static StreamColumnparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static StreamColumnparseDelimitedFrom(InputStream input)static StreamColumnparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static StreamColumnparseFrom(CodedInputStream input)static StreamColumnparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static StreamColumn.BuildernewBuilder()static StreamColumn.BuildernewBuilder(StreamColumn prototype)static StreamColumngetDefaultInstance()static Parser<StreamColumn>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, toBuilder, toString, writeTo -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType, newBuilderForType, toBuilder -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getStreamId
int getStreamId()
Stream identity — see the registry below. Shared ids with iOS DSDP where they overlap (accel=2, gyro=3, mag=4, altitude=5, location=6); iOS-only ids 0/1/7/8 are reserved and never emitted by Android.uint32 stream_id = 1;
-
getSampleCount
int getSampleCount()
Number of samples represented by every column in this stream.uint32 sample_count = 2;
-
getSensorOriginUs
long getSensorOriginUs()
Absolute boot-relative origin (microseconds) of the first sample — the reference for the timestamp column (channel_id 0).int64 sensor_origin_us = 3;
-
getWallOriginMs
long getWallOriginMs()
Wall-clock (epoch ms) of the first sample. Together with sensor_origin_us this lets the server reconstruct per-sample wall time from the boot-relative timestamp column WITHOUT a per-sample wall-clock column: wall_ms(i) = wall_origin_ms + (sensor_us(i) - sensor_origin_us) / 1000int64 wall_origin_ms = 4;
-
getColumnsList
List<ColumnData> getColumnsList()
One per channel. channel_id 0 is always the timestamp column; 1..N are the value channels in the order documented in the registry below.repeated .doorstepai.telemetry.v3.ColumnData columns = 5;
-
getColumnsOrBuilderList
List<out ColumnDataOrBuilder> getColumnsOrBuilderList()
One per channel. channel_id 0 is always the timestamp column; 1..N are the value channels in the order documented in the registry below.repeated .doorstepai.telemetry.v3.ColumnData columns = 5;
-
getColumnsCount
int getColumnsCount()
One per channel. channel_id 0 is always the timestamp column; 1..N are the value channels in the order documented in the registry below.repeated .doorstepai.telemetry.v3.ColumnData columns = 5;
-
getColumns
ColumnData getColumns(int index)
One per channel. channel_id 0 is always the timestamp column; 1..N are the value channels in the order documented in the registry below.repeated .doorstepai.telemetry.v3.ColumnData columns = 5;
-
getColumnsOrBuilder
ColumnDataOrBuilder getColumnsOrBuilder(int index)
One per channel. channel_id 0 is always the timestamp column; 1..N are the value channels in the order documented in the registry below.repeated .doorstepai.telemetry.v3.ColumnData columns = 5;
-
parseFrom
static StreamColumn parseFrom(ByteBuffer data)
-
parseFrom
static StreamColumn parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static StreamColumn parseFrom(ByteString data)
-
parseFrom
static StreamColumn parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static StreamColumn parseFrom(Array<byte> data)
-
parseFrom
static StreamColumn parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static StreamColumn parseFrom(InputStream input)
-
parseFrom
static StreamColumn parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static StreamColumn parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static StreamColumn parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static StreamColumn parseFrom(CodedInputStream input)
-
parseFrom
static StreamColumn parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static StreamColumn.Builder newBuilder()
-
newBuilder
static StreamColumn.Builder newBuilder(StreamColumn prototype)
-
getDefaultInstance
static StreamColumn getDefaultInstance()
-
parser
static Parser<StreamColumn> parser()
-
-
-
-