public void write(org.apache.thrift.protocol.TProtocol oprot, Bolt struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.bolt_object != null) { oprot.writeFieldBegin(BOLT_OBJECT_FIELD_DESC); struct.bolt_object.write(oprot); oprot.writeFieldEnd(); } if (struct.common != null) { oprot.writeFieldBegin(COMMON_FIELD_DESC); struct.common.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
public void write(org.apache.thrift7.protocol.TProtocol oprot) throws org.apache.thrift7.TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.bolt_object != null) { oprot.writeFieldBegin(BOLT_OBJECT_FIELD_DESC); this.bolt_object.write(oprot); oprot.writeFieldEnd(); } if (this.common != null) { oprot.writeFieldBegin(COMMON_FIELD_DESC); this.common.write(oprot); 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.bolt_object != null) { oprot.writeFieldBegin(BOLT_OBJECT_FIELD_DESC); this.bolt_object.write(oprot); oprot.writeFieldEnd(); } if (this.common != null) { oprot.writeFieldBegin(COMMON_FIELD_DESC); this.common.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, Bolt struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.bolt_object != null) { oprot.writeFieldBegin(BOLT_OBJECT_FIELD_DESC); struct.bolt_object.write(oprot); oprot.writeFieldEnd(); } if (struct.common != null) { oprot.writeFieldBegin(COMMON_FIELD_DESC); struct.common.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }