@Override
 public void write(org.apache.thrift.protocol.TProtocol prot, show_args struct)
     throws org.apache.thrift.TException {
   TTupleProtocol oprot = (TTupleProtocol) prot;
   BitSet optionals = new BitSet();
   if (struct.isSetUser()) {
     optionals.set(0);
   }
   oprot.writeBitSet(optionals, 1);
   if (struct.isSetUser()) {
     struct.user.write(oprot);
   }
 }
    public boolean equals(show_args that) {
      if (that == null) return false;

      boolean this_present_user = true && this.isSetUser();
      boolean that_present_user = true && that.isSetUser();
      if (this_present_user || that_present_user) {
        if (!(this_present_user && that_present_user)) return false;
        if (!this.user.equals(that.user)) return false;
      }

      return true;
    }
    @Override
    public int compareTo(show_args other) {
      if (!getClass().equals(other.getClass())) {
        return getClass().getName().compareTo(other.getClass().getName());
      }

      int lastComparison = 0;

      lastComparison = Boolean.valueOf(isSetUser()).compareTo(other.isSetUser());
      if (lastComparison != 0) {
        return lastComparison;
      }
      if (isSetUser()) {
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, other.user);
        if (lastComparison != 0) {
          return lastComparison;
        }
      }
      return 0;
    }
 /** Performs a deep copy on <i>other</i>. */
 public show_args(show_args other) {
   if (other.isSetUser()) {
     this.user = new User(other.user);
   }
 }