write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.account != null) {
oprot.writeFieldBegin(_ACCOUNT_FIELD_DESC);
oprot.writeBinary(this.account);
oprot.writeFieldEnd();
}
if (this.encoded_pwd != null) {
oprot.writeFieldBegin(_ENCODED_PWD_FIELD_DESC);
oprot.writeBinary(this.encoded_pwd);
oprot.writeFieldEnd();
}
oprot.writeFieldBegin(_IF_NOT_EXISTS_FIELD_DESC);
oprot.writeBool(this.if_not_exists);
oprot.writeFieldEnd();
oprot.writeFieldStop();
oprot.writeStructEnd();
}