public CliThriftException deepCopy() { return new CliThriftException(this); }
/** * Performs a deep copy on <i>other</i>. */ public shutdown_result(shutdown_result other) { if (other.isSetCliException()) { this.cliException = new CliThriftException(other.cliException); } }
/** * Performs a deep copy on <i>other</i>. */ public serverName_result(serverName_result other) { if (other.isSetSuccess()) { this.success = other.success; } if (other.isSetCliException()) { this.cliException = new CliThriftException(other.cliException); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, shutdown_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.cliException = new CliThriftException(); struct.cliException.read(iprot); struct.setCliExceptionIsSet(true); } } }
public void read(org.apache.thrift.protocol.TProtocol iprot, shutdown_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // CLI_EXCEPTION if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.cliException = new CliThriftException(); struct.cliException.read(iprot); struct.setCliExceptionIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); }
/** * Performs a deep copy on <i>other</i>. */ public getMemoryUsage_result(getMemoryUsage_result other) { if (other.isSetSuccess()) { this.success = new MemoryUsage(other.success); } if (other.isSetCliException()) { this.cliException = new CliThriftException(other.cliException); } }
case 1: // CLI_EXCEPTION if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.cliException = new CliThriftException(); struct.cliException.read(iprot); struct.setCliExceptionIsSet(true);
/** * Performs a deep copy on <i>other</i>. */ public executeCommand_result(executeCommand_result other) { if (other.isSetSuccess()) { this.success = new CommandResult(other.success); } if (other.isSetCliException()) { this.cliException = new CliThriftException(other.cliException); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, serverName_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.success = iprot.readString(); struct.setSuccessIsSet(true); } if (incoming.get(1)) { struct.cliException = new CliThriftException(); struct.cliException.read(iprot); struct.setCliExceptionIsSet(true); } } }
case 1: // CLI_EXCEPTION if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.cliException = new CliThriftException(); struct.cliException.read(iprot); struct.setCliExceptionIsSet(true);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, getMemoryUsage_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.success = new MemoryUsage(); struct.success.read(iprot); struct.setSuccessIsSet(true); } if (incoming.get(1)) { struct.cliException = new CliThriftException(); struct.cliException.read(iprot); struct.setCliExceptionIsSet(true); } } }
case 1: // CLI_EXCEPTION if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.cliException = new CliThriftException(); struct.cliException.read(iprot); struct.setCliExceptionIsSet(true);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, executeCommand_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.success = new CommandResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } if (incoming.get(1)) { struct.cliException = new CliThriftException(); struct.cliException.read(iprot); struct.setCliExceptionIsSet(true); } } }