Interface Summary.AudioOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
Summary.Audio, Summary.Audio.Builder
Enclosing class:
Summary

public static interface Summary.AudioOrBuilder extends MessageOrBuilder
  • Method Details

    • getSampleRate

      float getSampleRate()
      Sample rate of the audio in Hz.
      
      float sample_rate = 1;
      Returns:
      The sampleRate.
    • getNumChannels

      long getNumChannels()
      Number of channels of audio.
      
      int64 num_channels = 2;
      Returns:
      The numChannels.
    • getLengthFrames

      long getLengthFrames()
      Length of the audio in frames (samples per channel).
      
      int64 length_frames = 3;
      Returns:
      The lengthFrames.
    • getEncodedAudioString

      ByteString getEncodedAudioString()
      Encoded audio data and its associated RFC 2045 content type (e.g.
      "audio/wav").
      
      bytes encoded_audio_string = 4;
      Returns:
      The encodedAudioString.
    • getContentType

      String getContentType()
      string content_type = 5;
      Returns:
      The contentType.
    • getContentTypeBytes

      ByteString getContentTypeBytes()
      string content_type = 5;
      Returns:
      The bytes for contentType.