public void validate() throws org.apache.storm.thrift.TException { // check for required fields if (!is_set_type()) { throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'type' is unset! Struct:" + toString()); } if (!is_set_access()) { throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'access' is unset! Struct:" + toString()); } // check for sub-struct validity }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!is_set_type()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'type' is unset! Struct:" + toString()); } if (!is_set_access()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'access' is unset! Struct:" + toString()); } // check for sub-struct validity }