@Override
  protected java.lang.Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException {
    _Fields setField = _Fields.findByThriftId(fieldID);
    if (setField != null) {
      switch (setField) {
        case INSERT_DATA:
          InsertEventRequestData insertData;
          insertData = new InsertEventRequestData();
          insertData.read(iprot);
          return insertData;
        case INSERT_DATAS:
          java.util.List<InsertEventRequestData> insertDatas;
          {
            org.apache.thrift.protocol.TList _list1060 = iprot.readListBegin();
            insertDatas = new java.util.ArrayList<InsertEventRequestData>(_list1060.size);
            @org.apache.thrift.annotation.Nullable InsertEventRequestData _elem1061;
            for (int _i1062 = 0; _i1062 < _list1060.size; ++_i1062)
            {
              _elem1061 = new InsertEventRequestData();
              _elem1061.read(iprot);
              insertDatas.add(_elem1061);
            }
            iprot.readListEnd();
          }
          return insertDatas;
        case REFRESH_EVENT:
          java.lang.Boolean refreshEvent;
          refreshEvent = iprot.readBool();
          return refreshEvent;
        default:
          throw new java.lang.IllegalStateException("setField wasn't null, but didn't match any of the case statements!");
      }
    } else {
      throw new org.apache.thrift.protocol.TProtocolException("Couldn't find a field with field id " + fieldID);
    }
  }
Find the _Fields constant that matches name, or null if its not found.
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java