-
- All Implemented Interfaces:
-
com.doorstepai.sdks.tracking.proto.StreamColumnOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
public final class StreamColumn.Builder extends GeneratedMessageLite.Builder<StreamColumn, StreamColumn.Builder> implements StreamColumnOrBuilder
Protobuf type
{@code doorstepai.telemetry.v3.StreamColumn}
-
-
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;StreamColumn.BuildersetStreamId(int value)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;StreamColumn.BuilderclearStreamId()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;StreamColumn.BuildersetSampleCount(int value)Number of samples represented by every column in this stream.uint32 sample_count = 2;StreamColumn.BuilderclearSampleCount()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;StreamColumn.BuildersetSensorOriginUs(long value)Absolute boot-relative origin (microseconds) of the first sample — the reference for the timestamp column (channel_id 0).int64 sensor_origin_us = 3;StreamColumn.BuilderclearSensorOriginUs()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;StreamColumn.BuildersetWallOriginMs(long value)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;StreamColumn.BuilderclearWallOriginMs()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;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;StreamColumn.BuildersetColumns(int index, ColumnData value)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;StreamColumn.BuildersetColumns(int index, ColumnData.Builder builderForValue)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;StreamColumn.BuilderaddColumns(ColumnData value)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;StreamColumn.BuilderaddColumns(int index, ColumnData value)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;StreamColumn.BuilderaddColumns(ColumnData.Builder builderForValue)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;StreamColumn.BuilderaddColumns(int index, ColumnData.Builder builderForValue)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;StreamColumn.BuilderaddAllColumns(Iterable<out ColumnData> values)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;StreamColumn.BuilderclearColumns()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;StreamColumn.BuilderremoveColumns(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;-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, getDefaultInstanceForType, isInitialized, mergeFrom -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial, clear, clone, mergeFrom -
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;
-
setStreamId
StreamColumn.Builder setStreamId(int value)
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;- Parameters:
value- The streamId to set.
-
clearStreamId
StreamColumn.Builder clearStreamId()
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;
-
setSampleCount
StreamColumn.Builder setSampleCount(int value)
Number of samples represented by every column in this stream.uint32 sample_count = 2;- Parameters:
value- The sampleCount to set.
-
clearSampleCount
StreamColumn.Builder clearSampleCount()
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;
-
setSensorOriginUs
StreamColumn.Builder setSensorOriginUs(long value)
Absolute boot-relative origin (microseconds) of the first sample — the reference for the timestamp column (channel_id 0).int64 sensor_origin_us = 3;- Parameters:
value- The sensorOriginUs to set.
-
clearSensorOriginUs
StreamColumn.Builder clearSensorOriginUs()
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;
-
setWallOriginMs
StreamColumn.Builder setWallOriginMs(long value)
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;- Parameters:
value- The wallOriginMs to set.
-
clearWallOriginMs
StreamColumn.Builder clearWallOriginMs()
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;
-
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;
-
setColumns
StreamColumn.Builder setColumns(int index, ColumnData value)
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;
-
setColumns
StreamColumn.Builder setColumns(int index, ColumnData.Builder builderForValue)
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;
-
addColumns
StreamColumn.Builder addColumns(ColumnData value)
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;
-
addColumns
StreamColumn.Builder addColumns(int index, ColumnData value)
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;
-
addColumns
StreamColumn.Builder addColumns(ColumnData.Builder builderForValue)
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;
-
addColumns
StreamColumn.Builder addColumns(int index, ColumnData.Builder builderForValue)
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;
-
addAllColumns
StreamColumn.Builder addAllColumns(Iterable<out ColumnData> values)
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;
-
clearColumns
StreamColumn.Builder clearColumns()
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;
-
removeColumns
StreamColumn.Builder removeColumns(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;
-
-
-
-