write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.values != null) {
oprot.writeFieldBegin(_VALUES_FIELD_DESC);
{
oprot.writeListBegin(new TList(TType.STRUCT, this.values?.length));
for (var elem17 in this.values ?? <Value>[]) {
elem17.write(oprot);
}
oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}