Interface Audioin.AudioChunkOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Audioin.AudioChunk, Audioin.AudioChunk.Builder
Enclosing class:
Audioin

public static interface Audioin.AudioChunkOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    Audio data for this chunk, encoded according to the requested codec.
    Info about the audio stream for this chunk
    long
    int64 end_timestamp_nanoseconds = 4 [json_name = "endTimestampNanoseconds"];
    int
    Sequential chunk number
    long
    int64 start_timestamp_nanoseconds = 3 [json_name = "startTimestampNanoseconds"];
    boolean
    Info about the audio stream for this chunk

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getAudioData

      com.google.protobuf.ByteString getAudioData()
       Audio data for this chunk, encoded according to the requested codec.
       
      bytes audio_data = 1 [json_name = "audioData"];
      Returns:
      The audioData.
    • hasAudioInfo

      boolean hasAudioInfo()
       Info about the audio stream for this chunk
       
      .viam.common.v1.AudioInfo audio_info = 2 [json_name = "audioInfo"];
      Returns:
      Whether the audioInfo field is set.
    • getAudioInfo

      Common.AudioInfo getAudioInfo()
       Info about the audio stream for this chunk
       
      .viam.common.v1.AudioInfo audio_info = 2 [json_name = "audioInfo"];
      Returns:
      The audioInfo.
    • getStartTimestampNanoseconds

      long getStartTimestampNanoseconds()
      int64 start_timestamp_nanoseconds = 3 [json_name = "startTimestampNanoseconds"];
      Returns:
      The startTimestampNanoseconds.
    • getEndTimestampNanoseconds

      long getEndTimestampNanoseconds()
      int64 end_timestamp_nanoseconds = 4 [json_name = "endTimestampNanoseconds"];
      Returns:
      The endTimestampNanoseconds.
    • getSequence

      int getSequence()
       Sequential chunk number
       
      int32 sequence = 5 [json_name = "sequence"];
      Returns:
      The sequence.