@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 NAMES:
          java.util.List<java.lang.String> names;
          {
            org.apache.thrift.protocol.TList _list690 = iprot.readListBegin();
            names = new java.util.ArrayList<java.lang.String>(_list690.size);
            @org.apache.thrift.annotation.Nullable java.lang.String _elem691;
            for (int _i692 = 0; _i692 < _list690.size; ++_i692)
            {
              _elem691 = iprot.readString();
              names.add(_elem691);
            }
            iprot.readListEnd();
          }
          return names;
        case EXPRS:
          java.util.List<DropPartitionsExpr> exprs;
          {
            org.apache.thrift.protocol.TList _list693 = iprot.readListBegin();
            exprs = new java.util.ArrayList<DropPartitionsExpr>(_list693.size);
            @org.apache.thrift.annotation.Nullable DropPartitionsExpr _elem694;
            for (int _i695 = 0; _i695 < _list693.size; ++_i695)
            {
              _elem694 = new DropPartitionsExpr();
              _elem694.read(iprot);
              exprs.add(_elem694);
            }
            iprot.readListEnd();
          }
          return exprs;
        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/RequestPartsSpec.java