Interface RedvoxApiM.RedvoxPacketM.Sensors.AudioOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RedvoxApiM.RedvoxPacketM.Sensors.Audio, RedvoxApiM.RedvoxPacketM.Sensors.Audio.Builder
Enclosing class:
RedvoxApiM.RedvoxPacketM.Sensors

public static interface RedvoxApiM.RedvoxPacketM.Sensors.AudioOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getSensorDescription

      String getSensorDescription()
       The name or description of the audio sensor
       
      string sensor_description = 1;
      Returns:
      The sensorDescription.
    • getSensorDescriptionBytes

      com.google.protobuf.ByteString getSensorDescriptionBytes()
       The name or description of the audio sensor
       
      string sensor_description = 1;
      Returns:
      The bytes for sensorDescription.
    • getFirstSampleTimestamp

      double getFirstSampleTimestamp()
       Timestamp of the first audio sample
       
      double first_sample_timestamp = 2;
      Returns:
      The firstSampleTimestamp.
    • getSampleRate

      float getSampleRate()
       Microphone sample rate in Hz
       
      float sample_rate = 3;
      Returns:
      The sampleRate.
    • getBitsOfPrecision

      float getBitsOfPrecision()
       Bits of precision for normalized audio samples
       
      float bits_of_precision = 4;
      Returns:
      The bitsOfPrecision.
    • getIsScrambled

      boolean getIsScrambled()
       If audio data has been scrambled to remove voice
       
      bool is_scrambled = 5;
      Returns:
      The isScrambled.
    • getEncoding

      String getEncoding()
       The audio encoding used... TODO: Turn this into an enum!
       
      string encoding = 6;
      Returns:
      The encoding.
    • getEncodingBytes

      com.google.protobuf.ByteString getEncodingBytes()
       The audio encoding used... TODO: Turn this into an enum!
       
      string encoding = 6;
      Returns:
      The bytes for encoding.
    • hasSamples

      boolean hasSamples()
       List of audio samples
       
      .redvox_api_m.RedvoxPacketM.SamplePayload samples = 7;
      Returns:
      Whether the samples field is set.
    • getSamples

       List of audio samples
       
      .redvox_api_m.RedvoxPacketM.SamplePayload samples = 7;
      Returns:
      The samples.
    • getSamplesOrBuilder

       List of audio samples
       
      .redvox_api_m.RedvoxPacketM.SamplePayload samples = 7;
    • getMetadataCount

      int getMetadataCount()
       A map from string to string for including untyped metadata
       
      map<string, string> metadata = 8;
    • containsMetadata

      boolean containsMetadata(String key)
       A map from string to string for including untyped metadata
       
      map<string, string> metadata = 8;
    • getMetadata

      @Deprecated Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
    • getMetadataMap

      Map<String,String> getMetadataMap()
       A map from string to string for including untyped metadata
       
      map<string, string> metadata = 8;
    • getMetadataOrDefault

      String getMetadataOrDefault(String key, String defaultValue)
       A map from string to string for including untyped metadata
       
      map<string, string> metadata = 8;
    • getMetadataOrThrow

      String getMetadataOrThrow(String key)
       A map from string to string for including untyped metadata
       
      map<string, string> metadata = 8;