public Revision setMajor(int major) { this.major = major; setMajorIsSet(true); return this; }
public Revision setMajor(int major) { this.major = major; setMajorIsSet(true); return this; }
public Revision( int major, int minor) { this(); this.major = major; setMajorIsSet(true); this.minor = minor; setMinorIsSet(true); }
public Revision( int major, int minor) { this(); this.major = major; setMajorIsSet(true); this.minor = minor; setMinorIsSet(true); }
@Override public void clear() { setMajorIsSet(false); this.major = 0; setMinorIsSet(false); this.minor = 0; }
@Override public void clear() { setMajorIsSet(false); this.major = 0; setMinorIsSet(false); this.minor = 0; }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Revision struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.major = iprot.readI32(); struct.setMajorIsSet(true); struct.minor = iprot.readI32(); struct.setMinorIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Revision struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.major = iprot.readI32(); struct.setMajorIsSet(true); struct.minor = iprot.readI32(); struct.setMinorIsSet(true); } }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.major = iprot.readI32(); struct.setMajorIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.major = iprot.readI32(); struct.setMajorIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);