write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.result != null) {
oprot.writeFieldBegin(_RESULT_FIELD_DESC);
this.result?.write(oprot);
oprot.writeFieldEnd();
}
if (isSetVertices()) {
if (this.vertices != null) {
oprot.writeFieldBegin(_VERTICES_FIELD_DESC);
this.vertices?.write(oprot);
oprot.writeFieldEnd();
}
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}