write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (isSetTtl_duration()) {
oprot.writeFieldBegin(_TTL_DURATION_FIELD_DESC);
oprot.writeI64(this.ttl_duration);
oprot.writeFieldEnd();
}
if (isSetTtl_col()) {
if (this.ttl_col != null) {
oprot.writeFieldBegin(_TTL_COL_FIELD_DESC);
oprot.writeBinary(this.ttl_col);
oprot.writeFieldEnd();
}
}
if (isSetComment()) {
if (this.comment != null) {
oprot.writeFieldBegin(_COMMENT_FIELD_DESC);
oprot.writeBinary(this.comment);
oprot.writeFieldEnd();
}
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}