Package io.redvox.apis
Interface RedvoxApiM.RedvoxPacketM.TimingPayloadOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RedvoxApiM.RedvoxPacketM.TimingPayload,RedvoxApiM.RedvoxPacketM.TimingPayload.Builder
- Enclosing class:
- RedvoxApiM.RedvoxPacketM
public static interface RedvoxApiM.RedvoxPacketM.TimingPayloadOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) A map from string to string for including untyped metadatafloatMean sample rate in HzDeprecated.intA map from string to string for including untyped metadataA map from string to string for including untyped metadatagetMetadataOrDefault(String key, String defaultValue) A map from string to string for including untyped metadatagetMetadataOrThrow(String key) A map from string to string for including untyped metadatafloatStandard deviation of sample rate in HzdoublegetTimestamps(int index) Values in payloadintValues in payloadValues in payloadStatistics of stored valuesStatistics of stored valuesgetUnit()Unit of payload valuesintUnit of payload valuesbooleanStatistics of stored valuesMethods 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
-
getUnitValue
int getUnitValue()Unit of payload values
.redvox_api_m.RedvoxPacketM.Unit unit = 1;- Returns:
- The enum numeric value on the wire for unit.
-
getUnit
RedvoxApiM.RedvoxPacketM.Unit getUnit()Unit of payload values
.redvox_api_m.RedvoxPacketM.Unit unit = 1;- Returns:
- The unit.
-
getTimestampsList
Values in payload
repeated double timestamps = 2;- Returns:
- A list containing the timestamps.
-
getTimestampsCount
int getTimestampsCount()Values in payload
repeated double timestamps = 2;- Returns:
- The count of timestamps.
-
getTimestamps
double getTimestamps(int index) Values in payload
repeated double timestamps = 2;- Parameters:
index- The index of the element to return.- Returns:
- The timestamps at the given index.
-
hasTimestampStatistics
boolean hasTimestampStatistics()Statistics of stored values
.redvox_api_m.RedvoxPacketM.SummaryStatistics timestamp_statistics = 3;- Returns:
- Whether the timestampStatistics field is set.
-
getTimestampStatistics
RedvoxApiM.RedvoxPacketM.SummaryStatistics getTimestampStatistics()Statistics of stored values
.redvox_api_m.RedvoxPacketM.SummaryStatistics timestamp_statistics = 3;- Returns:
- The timestampStatistics.
-
getTimestampStatisticsOrBuilder
RedvoxApiM.RedvoxPacketM.SummaryStatisticsOrBuilder getTimestampStatisticsOrBuilder()Statistics of stored values
.redvox_api_m.RedvoxPacketM.SummaryStatistics timestamp_statistics = 3; -
getMeanSampleRate
float getMeanSampleRate()Mean sample rate in Hz
float mean_sample_rate = 4;- Returns:
- The meanSampleRate.
-
getStdevSampleRate
float getStdevSampleRate()Standard deviation of sample rate in Hz
float stdev_sample_rate = 5;- Returns:
- The stdevSampleRate.
-
getMetadataCount
int getMetadataCount()A map from string to string for including untyped metadata
map<string, string> metadata = 6; -
containsMetadata
A map from string to string for including untyped metadata
map<string, string> metadata = 6; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
A map from string to string for including untyped metadata
map<string, string> metadata = 6; -
getMetadataOrDefault
A map from string to string for including untyped metadata
map<string, string> metadata = 6; -
getMetadataOrThrow
A map from string to string for including untyped metadata
map<string, string> metadata = 6;
-