case 4: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.type = org.apache.accumulo.core.clientImpl.thrift.TableOperationExceptionType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } else {
oprot.writeI32(struct.type.getValue()); oprot.writeFieldEnd();
if (!(this_present_type && that_present_type)) return false; if (!this.type.equals(that.type)) return false;
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((isSetTableId()) ? 131071 : 524287); if (isSetTableId()) hashCode = hashCode * 8191 + tableId.hashCode(); hashCode = hashCode * 8191 + ((isSetTableName()) ? 131071 : 524287); if (isSetTableName()) hashCode = hashCode * 8191 + tableName.hashCode(); hashCode = hashCode * 8191 + ((isSetOp()) ? 131071 : 524287); if (isSetOp()) hashCode = hashCode * 8191 + op.getValue(); hashCode = hashCode * 8191 + ((isSetType()) ? 131071 : 524287); if (isSetType()) hashCode = hashCode * 8191 + type.getValue(); hashCode = hashCode * 8191 + ((isSetDescription()) ? 131071 : 524287); if (isSetDescription()) hashCode = hashCode * 8191 + description.hashCode(); return hashCode; }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, ThriftTableOperationException struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { struct.tableId = iprot.readString(); struct.setTableIdIsSet(true); } if (incoming.get(1)) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } if (incoming.get(2)) { struct.op = org.apache.accumulo.core.clientImpl.thrift.TableOperation.findByValue(iprot.readI32()); struct.setOpIsSet(true); } if (incoming.get(3)) { struct.type = org.apache.accumulo.core.clientImpl.thrift.TableOperationExceptionType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } if (incoming.get(4)) { struct.description = iprot.readString(); struct.setDescriptionIsSet(true); } } }
oprot.writeI32(struct.type.getValue());