write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.client_version != null) {
oprot.writeFieldBegin(_CLIENT_VERSION_FIELD_DESC);
oprot.writeBinary(this.client_version);
oprot.writeFieldEnd();
}
if (this.host != null) {
oprot.writeFieldBegin(_HOST_FIELD_DESC);
this.host?.write(oprot);
oprot.writeFieldEnd();
}
if (this.build_version != null) {
oprot.writeFieldBegin(_BUILD_VERSION_FIELD_DESC);
oprot.writeBinary(this.build_version);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}