public void write(org.apache.thrift.protocol.TProtocol oprot, result_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.id != null) { oprot.writeFieldBegin(ID_FIELD_DESC); oprot.writeString(struct.id); oprot.writeFieldEnd(); } if (struct.result != null) { oprot.writeFieldBegin(RESULT_FIELD_DESC); oprot.writeString(struct.result); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
public void write(org.apache.thrift.protocol.TProtocol oprot, result_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.id != null) { oprot.writeFieldBegin(ID_FIELD_DESC); oprot.writeString(struct.id); oprot.writeFieldEnd(); } if (struct.result != null) { oprot.writeFieldBegin(RESULT_FIELD_DESC); oprot.writeString(struct.result); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.id != null) { oprot.writeFieldBegin(ID_FIELD_DESC); oprot.writeString(this.id); oprot.writeFieldEnd(); } if (this.result != null) { oprot.writeFieldBegin(RESULT_FIELD_DESC); oprot.writeString(this.result); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift7.protocol.TProtocol oprot) throws org.apache.thrift7.TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.id != null) { oprot.writeFieldBegin(ID_FIELD_DESC); oprot.writeString(this.id); oprot.writeFieldEnd(); } if (this.result != null) { oprot.writeFieldBegin(RESULT_FIELD_DESC); oprot.writeString(this.result); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }