public static Protocol forNumber(int value) {
      switch (value) {
        case 0:
          return PROTOCOL_UNSPECIFIED;
        case 1:
          return UDP;
        case 2:
          return TCP;
        case 3:
          return TLS;
        case 4:
          return SSL;
        case 5:
          return RELP;
        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-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/LoggingServer.java