public void write(org.apache.thrift.protocol.TProtocol oprot, ComponentCommon struct) throws org.apache.thrift.TException { struct.validate();
struct.validate();
public void validate() throws org.apache.thrift.TException { // check for required fields if (!is_set_state_spout_object()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'state_spout_object' is unset! Struct:" + toString()); } if (!is_set_common()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'common' is unset! Struct:" + toString()); } // check for sub-struct validity if (common != null) { common.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!is_set_spout_object()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'spout_object' is unset! Struct:" + toString()); } if (!is_set_common()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'common' is unset! Struct:" + toString()); } // check for sub-struct validity if (common != null) { common.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!is_set_bolt_object()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'bolt_object' is unset! Struct:" + toString()); } if (!is_set_common()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'common' is unset! Struct:" + toString()); } // check for sub-struct validity if (common != null) { common.validate(); } }
public void write(org.apache.thrift7.protocol.TProtocol oprot) throws org.apache.thrift7.TException { validate();
public void validate() throws org.apache.thrift.TException { // check for required fields if (!is_set_state_spout_object()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'state_spout_object' is unset! Struct:" + toString()); } if (!is_set_common()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'common' is unset! Struct:" + toString()); } // check for sub-struct validity if (common != null) { common.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!is_set_spout_object()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'spout_object' is unset! Struct:" + toString()); } if (!is_set_common()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'common' is unset! Struct:" + toString()); } // check for sub-struct validity if (common != null) { common.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!is_set_bolt_object()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'bolt_object' is unset! Struct:" + toString()); } if (!is_set_common()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'common' is unset! Struct:" + toString()); } // check for sub-struct validity if (common != null) { common.validate(); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, ComponentCommon struct) throws org.apache.thrift.TException { struct.validate();
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { validate();