Package io.redvox.apis
Class RedvoxApiM.RedvoxPacketM
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.redvox.apis.RedvoxApiM.RedvoxPacketM
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RedvoxApiM.RedvoxPacketMOrBuilder,Serializable
- Enclosing class:
- RedvoxApiM
public static final class RedvoxApiM.RedvoxPacketM
extends com.google.protobuf.GeneratedMessageV3
implements RedvoxApiM.RedvoxPacketMOrBuilder
Top level packet fieldsProtobuf type
redvox_api_m.RedvoxPacketM- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTop level packet fieldsstatic final classExactly like a SamplePayload, but payload values are 64-bit floats rather than 32-bit floats.static interfacestatic final classProvides a mechanism for storing various generic derived eventsstatic interfacestatic final classCombines a unit, sample values, and value statistics Used to store collections of samples, their unit, and the statistics for those samples.static interfacestatic final classCollection of available sensor types See: https://github.com/RedVoxInc/redvox-api-1000/src/master/docs/standards/standard_sensor_units.mdstatic interfacestatic final classThis message contains station metadata and related station state metricsstatic interfacestatic final classCommon statistics stored with payloadsstatic interfacestatic final classStores timing information and related metrics See: https://github.com/RedVoxInc/redvox-api-1000/src/master/docs/standards/keeping_time.mdstatic interfacestatic final classCombines a unit, sample values, and value statistics Used to store collections of samples, their unit, and the statistics for those samples.static interfacestatic enumEnumeration of API M supported unitsNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) A map from string to string for including untyped metadatabooleanfloatgetApi()The API version, should always be 1000static RedvoxApiM.RedvoxPacketMstatic final com.google.protobuf.Descriptors.DescriptorgetEventStreams(int index) Derived event streamsintDerived event streamsDerived event streamsgetEventStreamsOrBuilder(int index) Derived event streamsDerived event streamsDeprecated.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 metadatacom.google.protobuf.Parser<RedvoxApiM.RedvoxPacketM>Sensors, payloads, etcSensors, payloads, etcintStation metadata/metricsStation metadata/metricsfloatThe sub-api version.Timing information, synch exchangesTiming information, synch exchangesfinal com.google.protobuf.UnknownFieldSetinthashCode()booleanSensors, payloads, etcbooleanStation metadata/metricsbooleanTiming information, synch exchangesprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleannewBuilder(RedvoxApiM.RedvoxPacketM prototype) protected RedvoxApiM.RedvoxPacketM.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static RedvoxApiM.RedvoxPacketMparseDelimitedFrom(InputStream input) static RedvoxApiM.RedvoxPacketMparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RedvoxApiM.RedvoxPacketMparseFrom(byte[] data) static RedvoxApiM.RedvoxPacketMparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RedvoxApiM.RedvoxPacketMparseFrom(com.google.protobuf.ByteString data) static RedvoxApiM.RedvoxPacketMparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RedvoxApiM.RedvoxPacketMparseFrom(com.google.protobuf.CodedInputStream input) static RedvoxApiM.RedvoxPacketMparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RedvoxApiM.RedvoxPacketMparseFrom(InputStream input) static RedvoxApiM.RedvoxPacketMparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RedvoxApiM.RedvoxPacketMparseFrom(ByteBuffer data) static RedvoxApiM.RedvoxPacketMparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RedvoxApiM.RedvoxPacketM>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
API_FIELD_NUMBER
public static final int API_FIELD_NUMBER- See Also:
-
SUB_API_FIELD_NUMBER
public static final int SUB_API_FIELD_NUMBER- See Also:
-
STATION_INFORMATION_FIELD_NUMBER
public static final int STATION_INFORMATION_FIELD_NUMBER- See Also:
-
TIMING_INFORMATION_FIELD_NUMBER
public static final int TIMING_INFORMATION_FIELD_NUMBER- See Also:
-
SENSORS_FIELD_NUMBER
public static final int SENSORS_FIELD_NUMBER- See Also:
-
EVENT_STREAMS_FIELD_NUMBER
public static final int EVENT_STREAMS_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getApi
public float getApi()The API version, should always be 1000
float api = 1;- Specified by:
getApiin interfaceRedvoxApiM.RedvoxPacketMOrBuilder- Returns:
- The api.
-
getSubApi
public float getSubApi()The sub-api version.
float sub_api = 2;- Specified by:
getSubApiin interfaceRedvoxApiM.RedvoxPacketMOrBuilder- Returns:
- The subApi.
-
hasStationInformation
public boolean hasStationInformation()Station metadata/metrics
.redvox_api_m.RedvoxPacketM.StationInformation station_information = 3;- Specified by:
hasStationInformationin interfaceRedvoxApiM.RedvoxPacketMOrBuilder- Returns:
- Whether the stationInformation field is set.
-
getStationInformation
Station metadata/metrics
.redvox_api_m.RedvoxPacketM.StationInformation station_information = 3;- Specified by:
getStationInformationin interfaceRedvoxApiM.RedvoxPacketMOrBuilder- Returns:
- The stationInformation.
-
getStationInformationOrBuilder
Station metadata/metrics
.redvox_api_m.RedvoxPacketM.StationInformation station_information = 3;- Specified by:
getStationInformationOrBuilderin interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
hasTimingInformation
public boolean hasTimingInformation()Timing information, synch exchanges
.redvox_api_m.RedvoxPacketM.TimingInformation timing_information = 4;- Specified by:
hasTimingInformationin interfaceRedvoxApiM.RedvoxPacketMOrBuilder- Returns:
- Whether the timingInformation field is set.
-
getTimingInformation
Timing information, synch exchanges
.redvox_api_m.RedvoxPacketM.TimingInformation timing_information = 4;- Specified by:
getTimingInformationin interfaceRedvoxApiM.RedvoxPacketMOrBuilder- Returns:
- The timingInformation.
-
getTimingInformationOrBuilder
Timing information, synch exchanges
.redvox_api_m.RedvoxPacketM.TimingInformation timing_information = 4;- Specified by:
getTimingInformationOrBuilderin interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
hasSensors
public boolean hasSensors()Sensors, payloads, etc
.redvox_api_m.RedvoxPacketM.Sensors sensors = 5;- Specified by:
hasSensorsin interfaceRedvoxApiM.RedvoxPacketMOrBuilder- Returns:
- Whether the sensors field is set.
-
getSensors
Sensors, payloads, etc
.redvox_api_m.RedvoxPacketM.Sensors sensors = 5;- Specified by:
getSensorsin interfaceRedvoxApiM.RedvoxPacketMOrBuilder- Returns:
- The sensors.
-
getSensorsOrBuilder
Sensors, payloads, etc
.redvox_api_m.RedvoxPacketM.Sensors sensors = 5;- Specified by:
getSensorsOrBuilderin interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
getEventStreamsList
Derived event streams
repeated .redvox_api_m.RedvoxPacketM.EventStream event_streams = 6;- Specified by:
getEventStreamsListin interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
getEventStreamsOrBuilderList
Derived event streams
repeated .redvox_api_m.RedvoxPacketM.EventStream event_streams = 6;- Specified by:
getEventStreamsOrBuilderListin interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
getEventStreamsCount
public int getEventStreamsCount()Derived event streams
repeated .redvox_api_m.RedvoxPacketM.EventStream event_streams = 6;- Specified by:
getEventStreamsCountin interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
getEventStreams
Derived event streams
repeated .redvox_api_m.RedvoxPacketM.EventStream event_streams = 6;- Specified by:
getEventStreamsin interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
getEventStreamsOrBuilder
Derived event streams
repeated .redvox_api_m.RedvoxPacketM.EventStream event_streams = 6;- Specified by:
getEventStreamsOrBuilderin interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
getMetadataCount
public int getMetadataCount()Description copied from interface:RedvoxApiM.RedvoxPacketMOrBuilderA map from string to string for including untyped metadata
map<string, string> metadata = 7;- Specified by:
getMetadataCountin interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
containsMetadata
A map from string to string for including untyped metadata
map<string, string> metadata = 7;- Specified by:
containsMetadatain interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
getMetadataMap
A map from string to string for including untyped metadata
map<string, string> metadata = 7;- Specified by:
getMetadataMapin interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
getMetadataOrDefault
A map from string to string for including untyped metadata
map<string, string> metadata = 7;- Specified by:
getMetadataOrDefaultin interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
getMetadataOrThrow
A map from string to string for including untyped metadata
map<string, string> metadata = 7;- Specified by:
getMetadataOrThrowin interfaceRedvoxApiM.RedvoxPacketMOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RedvoxApiM.RedvoxPacketM parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RedvoxApiM.RedvoxPacketM parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RedvoxApiM.RedvoxPacketM parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RedvoxApiM.RedvoxPacketM.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-