public void write(TProtocol oprot) throws TException {
            validate();

            oprot.writeStructBegin(STRUCT_DESC);
            oprot.writeFieldBegin(PROFILE_DURATION_IN_SEC_FIELD_DESC);
            oprot.writeI32(this.profileDurationInSec);
            oprot.writeFieldEnd();
            oprot.writeFieldStop();
            oprot.writeStructEnd();
        }