write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
oprot.writeFieldBegin(_EDGE_TYPE_FIELD_DESC);
oprot.writeI32(this.edge_type);
oprot.writeFieldEnd();
if (this.edge_name != null) {
oprot.writeFieldBegin(_EDGE_NAME_FIELD_DESC);
oprot.writeBinary(this.edge_name);
oprot.writeFieldEnd();
}
oprot.writeFieldBegin(_VERSION_FIELD_DESC);
oprot.writeI64(this.version);
oprot.writeFieldEnd();
if (this.schema != null) {
oprot.writeFieldBegin(_SCHEMA_FIELD_DESC);
this.schema?.write(oprot);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}