public static AudioEncoding forNumber(int value) {
    switch (value) {
      case 0:
        return AUDIO_ENCODING_UNSPECIFIED;
      case 1:
        return LINEAR16;
      case 2:
        return MP3;
      case 3:
        return OGG_OPUS;
      case 5:
        return MULAW;
      case 6:
        return ALAW;
      case 7:
        return PCM;
      default:
        return null;
    }
  }
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/AudioEncoding.java