Package io.redvox.apis
Interface RedvoxApiM.RedvoxPacketM.SamplePayloadOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RedvoxApiM.RedvoxPacketM.SamplePayload,RedvoxApiM.RedvoxPacketM.SamplePayload.Builder
- Enclosing class:
- RedvoxApiM.RedvoxPacketM
public static interface RedvoxApiM.RedvoxPacketM.SamplePayloadOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) A map from string to string for including untyped metadataDeprecated.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 metadatagetUnit()Unit of payload valuesintUnit of payload valuesfloatgetValues(int index) Values in payloadintValues in payloadValues in payloadStatistics of stored valuesStatistics of stored 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.
-
getValuesList
Values in payload
repeated float values = 2;- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()Values in payload
repeated float values = 2;- Returns:
- The count of values.
-
getValues
float getValues(int index) Values in payload
repeated float values = 2;- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
hasValueStatistics
boolean hasValueStatistics()Statistics of stored values
.redvox_api_m.RedvoxPacketM.SummaryStatistics value_statistics = 3;- Returns:
- Whether the valueStatistics field is set.
-
getValueStatistics
RedvoxApiM.RedvoxPacketM.SummaryStatistics getValueStatistics()Statistics of stored values
.redvox_api_m.RedvoxPacketM.SummaryStatistics value_statistics = 3;- Returns:
- The valueStatistics.
-
getValueStatisticsOrBuilder
RedvoxApiM.RedvoxPacketM.SummaryStatisticsOrBuilder getValueStatisticsOrBuilder()Statistics of stored values
.redvox_api_m.RedvoxPacketM.SummaryStatistics value_statistics = 3; -
getMetadataCount
int getMetadataCount()A map from string to string for including untyped metadata
map<string, string> metadata = 4; -
containsMetadata
A map from string to string for including untyped metadata
map<string, string> metadata = 4; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
A map from string to string for including untyped metadata
map<string, string> metadata = 4; -
getMetadataOrDefault
A map from string to string for including untyped metadata
map<string, string> metadata = 4; -
getMetadataOrThrow
A map from string to string for including untyped metadata
map<string, string> metadata = 4;
-