case 1: // ERROR_CODE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.errorCode = com.linecorp.centraldogma.internal.thrift.ErrorCode.findByValue(iprot.readI32()); struct.setErrorCodeIsSet(true); } else {
case 1: // ERROR_CODE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.errorCode = com.linecorp.centraldogma.internal.thrift.ErrorCode.findByValue(iprot.readI32()); struct.setErrorCodeIsSet(true); } else {
@Override public void read(org.apache.thrift.protocol.TProtocol prot, CentralDogmaException struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.errorCode = com.linecorp.centraldogma.internal.thrift.ErrorCode.findByValue(iprot.readI32()); struct.setErrorCodeIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.message = iprot.readString(); struct.setMessageIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, CentralDogmaException struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.errorCode = com.linecorp.centraldogma.internal.thrift.ErrorCode.findByValue(iprot.readI32()); struct.setErrorCodeIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.message = iprot.readString(); struct.setMessageIsSet(true); } } }