public static RecordingDeviceType forNumber(int value) {
      switch (value) {
        case 0:
          return RECORDING_DEVICE_TYPE_UNSPECIFIED;
        case 1:
          return SMARTPHONE;
        case 2:
          return PC;
        case 3:
          return PHONE_LINE;
        case 4:
          return VEHICLE;
        case 5:
          return OTHER_OUTDOOR_DEVICE;
        case 6:
          return OTHER_INDOOR_DEVICE;
        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-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionMetadata.java