@Override public void clear() { setIsAdjustedToUTCIsSet(false); this.isAdjustedToUTC = false; this.unit = null; }
public TimeType setIsAdjustedToUTC(boolean isAdjustedToUTC) { this.isAdjustedToUTC = isAdjustedToUTC; setIsAdjustedToUTCIsSet(true); return this; }
public TimeType( boolean isAdjustedToUTC, TimeUnit unit) { this(); this.isAdjustedToUTC = isAdjustedToUTC; setIsAdjustedToUTCIsSet(true); this.unit = unit; }
public TimeType( boolean isAdjustedToUTC, TimeUnit unit) { this(); this.isAdjustedToUTC = isAdjustedToUTC; setIsAdjustedToUTCIsSet(true); this.unit = unit; }
@Override public void clear() { setIsAdjustedToUTCIsSet(false); this.isAdjustedToUTC = false; this.unit = null; }
public TimeType setIsAdjustedToUTC(boolean isAdjustedToUTC) { this.isAdjustedToUTC = isAdjustedToUTC; setIsAdjustedToUTCIsSet(true); return this; }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TimeType struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.isAdjustedToUTC = iprot.readBool(); struct.setIsAdjustedToUTCIsSet(true); struct.unit = new TimeUnit(); struct.unit.read(iprot); struct.setUnitIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TimeType struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; struct.isAdjustedToUTC = iprot.readBool(); struct.setIsAdjustedToUTCIsSet(true); struct.unit = new TimeUnit(); struct.unit.read(iprot); struct.setUnitIsSet(true); } }
if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.isAdjustedToUTC = iprot.readBool(); struct.setIsAdjustedToUTCIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.isAdjustedToUTC = iprot.readBool(); struct.setIsAdjustedToUTCIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);