All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.assistant.embedded.v1alpha2.AudioInConfigOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: embedded_assistant.proto

package com.google.assistant.embedded.v1alpha2;

public interface AudioInConfigOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.assistant.embedded.v1alpha2.AudioInConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * *Required* Encoding of audio data sent in all `audio_in` messages.
   * 
* * .google.assistant.embedded.v1alpha2.AudioInConfig.Encoding encoding = 1; * @return The enum numeric value on the wire for encoding. */ int getEncodingValue(); /** *
   * *Required* Encoding of audio data sent in all `audio_in` messages.
   * 
* * .google.assistant.embedded.v1alpha2.AudioInConfig.Encoding encoding = 1; * @return The encoding. */ com.google.assistant.embedded.v1alpha2.AudioInConfig.Encoding getEncoding(); /** *
   * *Required* Sample rate (in Hertz) of the audio data sent in all `audio_in`
   * messages. Valid values are from 16000-24000, but 16000 is optimal.
   * For best results, set the sampling rate of the audio source to 16000 Hz.
   * If that's not possible, use the native sample rate of the audio source
   * (instead of re-sampling).
   * 
* * int32 sample_rate_hertz = 2; * @return The sampleRateHertz. */ int getSampleRateHertz(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy