write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (isSetTag_id()) {
oprot.writeFieldBegin(_TAG_ID_FIELD_DESC);
oprot.writeI32(this.tag_id);
oprot.writeFieldEnd();
}
if (isSetEdge_type()) {
oprot.writeFieldBegin(_EDGE_TYPE_FIELD_DESC);
oprot.writeI32(this.edge_type);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}