public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetAuthzObj()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'authzObj' is unset! Struct:" + toString()); } if (!isSetAddPaths()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'addPaths' is unset! Struct:" + toString()); } if (!isSetDelPaths()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'delPaths' is unset! Struct:" + toString()); } // check for sub-struct validity }