if (isSetNum_children()) { if (!first) sb.append(", "); sb.append("num_children:");
if (isSetNum_children()) { if (!first) sb.append(", "); sb.append("num_children:");
list.add(name); boolean present_num_children = true && (isSetNum_children()); list.add(present_num_children); if (present_num_children)
lastComparison = Boolean.valueOf(isSetNum_children()).compareTo(other.isSetNum_children()); if (lastComparison != 0) { return lastComparison; if (isSetNum_children()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.num_children, other.num_children); if (lastComparison != 0) {
lastComparison = java.lang.Boolean.valueOf(isSetNum_children()).compareTo(other.isSetNum_children()); if (lastComparison != 0) { return lastComparison; if (isSetNum_children()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.num_children, other.num_children); if (lastComparison != 0) {
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TYPE: return isSetType(); case TYPE_LENGTH: return isSetType_length(); case REPETITION_TYPE: return isSetRepetition_type(); case NAME: return isSetName(); case NUM_CHILDREN: return isSetNum_children(); case CONVERTED_TYPE: return isSetConverted_type(); case SCALE: return isSetScale(); case PRECISION: return isSetPrecision(); case FIELD_ID: return isSetField_id(); case LOGICAL_TYPE: return isSetLogicalType(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); } switch (field) { case TYPE: return isSetType(); case TYPE_LENGTH: return isSetType_length(); case REPETITION_TYPE: return isSetRepetition_type(); case NAME: return isSetName(); case NUM_CHILDREN: return isSetNum_children(); case CONVERTED_TYPE: return isSetConverted_type(); case SCALE: return isSetScale(); case PRECISION: return isSetPrecision(); case FIELD_ID: return isSetField_id(); case LOGICAL_TYPE: return isSetLogicalType(); } throw new java.lang.IllegalStateException(); }
optionals.set(2); if (struct.isSetNum_children()) { optionals.set(3); oprot.writeI32(struct.repetition_type.getValue()); if (struct.isSetNum_children()) { oprot.writeI32(struct.num_children);
optionals.set(2); if (struct.isSetNum_children()) { optionals.set(3); oprot.writeI32(struct.repetition_type.getValue()); if (struct.isSetNum_children()) { oprot.writeI32(struct.num_children);
hashCode = hashCode * 8191 + name.hashCode(); hashCode = hashCode * 8191 + ((isSetNum_children()) ? 131071 : 524287); if (isSetNum_children()) hashCode = hashCode * 8191 + num_children;
boolean this_present_num_children = true && this.isSetNum_children(); boolean that_present_num_children = true && that.isSetNum_children(); if (this_present_num_children || that_present_num_children) { if (!(this_present_num_children && that_present_num_children))
boolean this_present_num_children = true && this.isSetNum_children(); boolean that_present_num_children = true && that.isSetNum_children(); if (this_present_num_children || that_present_num_children) { if (!(this_present_num_children && that_present_num_children))
oprot.writeFieldEnd(); if (struct.isSetNum_children()) { oprot.writeFieldBegin(NUM_CHILDREN_FIELD_DESC); oprot.writeI32(struct.num_children);
oprot.writeFieldEnd(); if (struct.isSetNum_children()) { oprot.writeFieldBegin(NUM_CHILDREN_FIELD_DESC); oprot.writeI32(struct.num_children);