public static InteractionType forNumber(int value) {
      switch (value) {
        case 0:
          return INTERACTION_TYPE_UNSPECIFIED;
        case 1:
          return DISCUSSION;
        case 2:
          return PRESENTATION;
        case 3:
          return PHONE_CALL;
        case 4:
          return VOICEMAIL;
        case 5:
          return PROFESSIONALLY_PRODUCED;
        case 6:
          return VOICE_SEARCH;
        case 7:
          return VOICE_COMMAND;
        case 8:
          return DICTATION;
        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-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionMetadata.java