Package io.redvox.apis
Interface RedvoxApiM.RedvoxPacketM.Sensors.ImageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RedvoxApiM.RedvoxPacketM.Sensors.Image,RedvoxApiM.RedvoxPacketM.Sensors.Image.Builder
- Enclosing class:
- RedvoxApiM.RedvoxPacketM.Sensors
public static interface RedvoxApiM.RedvoxPacketM.Sensors.ImageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) A map from string to string for including untyped metadataThe image codec being usedintThe image codec being usedDeprecated.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.ByteStringgetSamples(int index) A list of bytes each representing a single imageintA list of bytes each representing a single imageList<com.google.protobuf.ByteString>A list of bytes each representing a single imageThe name or description of the sensorcom.google.protobuf.ByteStringThe name or description of the sensorTimestamps per sampleTimestamps per samplebooleanTimestamps per sampleMethods 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
-
getSensorDescription
String getSensorDescription()The name or description of the sensor
string sensor_description = 1;- Returns:
- The sensorDescription.
-
getSensorDescriptionBytes
com.google.protobuf.ByteString getSensorDescriptionBytes()The name or description of the sensor
string sensor_description = 1;- Returns:
- The bytes for sensorDescription.
-
hasTimestamps
boolean hasTimestamps()Timestamps per sample
.redvox_api_m.RedvoxPacketM.TimingPayload timestamps = 2;- Returns:
- Whether the timestamps field is set.
-
getTimestamps
RedvoxApiM.RedvoxPacketM.TimingPayload getTimestamps()Timestamps per sample
.redvox_api_m.RedvoxPacketM.TimingPayload timestamps = 2;- Returns:
- The timestamps.
-
getTimestampsOrBuilder
RedvoxApiM.RedvoxPacketM.TimingPayloadOrBuilder getTimestampsOrBuilder()Timestamps per sample
.redvox_api_m.RedvoxPacketM.TimingPayload timestamps = 2; -
getSamplesList
List<com.google.protobuf.ByteString> getSamplesList()A list of bytes each representing a single image
repeated bytes samples = 3;- Returns:
- A list containing the samples.
-
getSamplesCount
int getSamplesCount()A list of bytes each representing a single image
repeated bytes samples = 3;- Returns:
- The count of samples.
-
getSamples
com.google.protobuf.ByteString getSamples(int index) A list of bytes each representing a single image
repeated bytes samples = 3;- Parameters:
index- The index of the element to return.- Returns:
- The samples at the given index.
-
getImageCodecValue
int getImageCodecValue()The image codec being used
.redvox_api_m.RedvoxPacketM.Sensors.Image.ImageCodec image_codec = 4;- Returns:
- The enum numeric value on the wire for imageCodec.
-
getImageCodec
RedvoxApiM.RedvoxPacketM.Sensors.Image.ImageCodec getImageCodec()The image codec being used
.redvox_api_m.RedvoxPacketM.Sensors.Image.ImageCodec image_codec = 4;- Returns:
- The imageCodec.
-
getMetadataCount
int getMetadataCount()A map from string to string for including untyped metadata
map<string, string> metadata = 5; -
containsMetadata
A map from string to string for including untyped metadata
map<string, string> metadata = 5; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
A map from string to string for including untyped metadata
map<string, string> metadata = 5; -
getMetadataOrDefault
A map from string to string for including untyped metadata
map<string, string> metadata = 5; -
getMetadataOrThrow
A map from string to string for including untyped metadata
map<string, string> metadata = 5;
-