write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.vid != null) {
oprot.writeFieldBegin(_VID_FIELD_DESC);
this.vid?.write(oprot);
oprot.writeFieldEnd();
}
if (this.tags != null) {
oprot.writeFieldBegin(_TAGS_FIELD_DESC);
{
oprot.writeListBegin(new TList(TType.STRUCT, this.tags?.length));
for (var elem47 in this.tags ?? []) {
elem47.write(oprot);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}